This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 84034 - 'Code Completion' should work in global scope more correctly
Summary: 'Code Completion' should work in global scope more correctly
Status: VERIFIED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 14:44 UTC by soldatov
Modified: 2008-06-27 19:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2006-09-01 14:44:12 UTC
Open this file:
----------------------------------
static int i = 1;
int j = 1;

int main()
{

    return (0);
}

----------------------------------

Go to empty line before "main" function.
Press Ctrl-space
==> "No suggestions" message appeared
Comment 1 Vladimir Voskresensky 2006-10-09 17:13:32 UTC
I agree.
Let's agree on the content of completion in global context.
What do we want to see there?
Comment 2 soldatov 2006-10-10 16:01:14 UTC
Developers explained to me why in this case in the code completion list are
absent global variables. It is features, it is not bug. Now I downgrade
priority. And I think I will close bug
Comment 3 soldatov 2007-03-22 10:23:12 UTC
Fixed
Comment 4 Alexander Pepin 2007-08-06 17:59:00 UTC
static int i = 1;

i does not appear in the completion list
Comment 5 Vladimir Voskresensky 2008-06-26 13:35:36 UTC
works
Comment 6 soldatov 2008-06-27 19:26:40 UTC
Verified in 200806271204 build