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 83999 - "Code Completion" contain enum items only in functions
Summary: "Code Completion" contain enum items only in functions
Status: VERIFIED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 10:28 UTC by soldatov
Modified: 2008-02-28 09:29 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 10:28:28 UTC
Open this file:
--------------------------------------------------------
enum TYPE {INT, UNSIGNED_INT, LONG_INT, UNSIGNED_LONG_INT, UNKNOWN};
unsigned long maxlmt[4]={INT_MAX, UINT_MAX, LONG_MAX, ULONG_MAX};

int main(int argc, char** argv) {
    
    return (EXIT_SUCCESS);
}

--------------------------------------------------------
Code Comletion list doesn't contain INT, UNSIGNED_INT, LONG_INT,
UNSIGNED_LONG_INT, UNKNOWN items, when I initialize "maxlmt" array
Comment 1 soldatov 2006-09-01 10:36:50 UTC
Sorry I added wrong code. It correct code:
---------------------------------------------------------
enum TYPE {INT_MAX, UNSIGNED_INT, LONG_INT, UNSIGNED_LONG_INT, UNKNOWN};
unsigned long maxlmt[4]={INT_MAX, INT_MAX, LONG_INT, UNKNOWN};

int main(int argc, char** argv) {
    
    return (0);
}

---------------------------------------------------------
Comment 2 soldatov 2007-04-06 13:41:42 UTC
I cannot reproduce this bug now
Comment 3 soldatov 2008-02-28 09:29:00 UTC
verified in NetBeans IDE Dev (Build 200802270005)