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.
Created attachment 110329 [details] screenshot of ide I don't know what is special about this code, or even if it is special, but the attached snapshot shows one particular method where all the local variables are undefined, even though it appears that the types are understood by the ide's c++ parser. Note that the arguments to the method are defined, but no local variables are recognized. Within this same file, the types (uint_64, uint_8, etc) are used. The red markings in the margin cover just this method and the next one. Note also that this is after - exit ide - remove .netbeans/dev/var/cache - restarting the ide I even tried an additional "reparse project". Product Version: NetBeans IDE Dev (Build 201108310601) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Linux version 2.6.35.13-92.fc14.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.netbeans/dev/var/cache
Please have a look and also evaluate if it needs to be fixed in 7.0.1 patch 2 as well.
Todd, could it be also related to other configurations which remain in your userdir[1]? What if you run ide with completely clean userdir to checks this scenario? If it is still reproducible, could you, please, use Ctrl+Shift+M to dump model of file. Thanks, Vladimir. [1] We had a bug that if user import some settings from old version of NB => editor's lexer phase can be corrupted and it cause parser to be corrupted as well
(In reply to comment #2) > If it is still reproducible, could you, please, use Ctrl+Shift+M to dump model > of file. Sorry, shortcut is Ctrl+Alt+Shift+M and we are interested in "File Code Model" choice and Cache of xRef for file Thanks, Vladimir.