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.
For Currently Netbeans has a very good code assistance and code completition, and it has become one of the best IDE for c++ development, even better than MSVC. Its code navigation engine works pretty fine, even with c++ (which is has a more complex grammar than Java) , but it isn't perfect at all. After all, nothing is perfect I know. Incremental symbols parsing could work most of the time, but sometimes a more thorough code analysis is required. The fact is that the code navigation could get confused when a large portion of a c++ project is modified, or when a refactoring is performed. So then some classes disappear from the class browser and the navigator is unable to show symbols in some files. This problem affects more to c++ projects, when Java navigation issues are very rare (due of the simplicity of Java language). I've found a workaround for this issue, and is deleting the /vars folder in the settings folder of netbeans (in my system is located at "~/.netbeans/dev" ). But is not very comfortable to doing this every time when the code navigator gets confused. Most IDE's have a command for clear the symbols database and reparsing all the source files. And netbeans needs a command like this in the project panel or in the source menu. It could be easy to implement (just deleting the files where the symbols database is stored). If this feature is enabled, then Netbeans could become the BEST Ide for C++ and Java.
reassign to CND for first evaluation ... after that we can try Java
we have thought to add such action into project's context menu, under Code Assistance category.
That's good. Thanks. Att: Francisco.
added UI action. Will fix semantic tomorrow http://hg.netbeans.org/cnd-main/rev/6f90bf5e8957
Integrated into 'main-golden', will be available in build *200910270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6f90bf5e8957 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing IZ#168773: A command for reparsing symbols is needed
reparse action: http://hg.netbeans.org/cnd-main?cmd=changeset;node=4609db032cda Btw, physically for C++ project cache to be removed is located in ${tmp}/${user}-cnd-cache* folder. Removing this folder cause reparse of the project
Hi Vladimir, is it possible to add a reparse command per file (and its dependencies) on a context menu (when we click on a file)? Thanks, Rolando
Hi, Rolando, press "space" and then "save" the file should cause reparse of the file and its dependencies. Thanks, Vladimir.
Integrated into 'main-golden', will be available in build *200910280201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4609db032cda User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#168773: A command for reparsing symbols is needed