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 178100 - Add action that would drop caches and rebuild indices
Summary: Add action that would drop caches and rebuild indices
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2009-12-03 12:30 UTC by mescalito
Modified: 2012-01-17 14:37 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mescalito 2009-12-03 12:30:09 UTC
I am using Netbeans 6.7.1 for PHP.

I've experienced that the code completion get confused and some classes or symbols just disappear from the browser. This happens frequently to me when I switch from one working copy of a repository to a different branch where a lot of files change.

I found that the only way to fix this is by closing the IDE and reopening. Even closing and re-opening the project seems not to fix this.

I've found this in the forums: and there is a workaround that seems logical, haven't tested though, but I think it would be very useful to have something built-in the IDE.

------------------ quoting the form post
Close netbeans.

Just enter to the netbeans configuration folder: 
And there are two folders: config and vars. Just delete the /vars folder, 

then reopen Netbeans and reload the project and Voila!! it begins to reparse the entire symbols for the project. 

I guess there should be, as a start, a command in the menu or project's context to rebuild the symbol database or a project.
Comment 1 Peter Pis 2009-12-04 06:46:47 UTC
Comment 2 Martin Fousek 2012-01-17 14:37:36 UTC
It looks that this enhancement exactly fit in our current requirements for more comfortable work/code review for bg_scan. Probably it has sense to turn on this action only on some command-line switch... anyway the design I would keep up to you. ;)

Thanks a lot.