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 184342

Summary: Navigator is empty until all projects are fully parsed
Product: java Reporter: Egor Ushakov <gorrus>
Component: NavigationAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: anebuzelsky, vv159170
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 182653    
Bug Blocks:    

Description Egor Ushakov 2010-04-16 09:53:24 UTC
When "parsing projects" is active navigator for any opened files is empty.
Can navigator be filled with higher priority to have it immediately as soon as I open any file?
Comment 1 Egor Ushakov 2010-04-16 09:55:12 UTC
If I have a file opened with navigator filled with data and I open more projects IDE starts to scan again and navigator for opened file becomes empty again! How can that be???
Comment 2 Tomas Zezula 2010-04-19 07:18:37 UTC
Yes, it can be done. It's not so easy as Java is strongly typed and the scans build caches to do type resolution. The resolution from sources may be very memory expensive due to AST nodes count. The problem is that java navigator allows "Show Inherited" which needs to resolve super types.
>If I have a file opened with navigator filled with data and I open more projects IDE starts to scan again >and navigator for opened file becomes empty again!
As you lost a focus and the navigator infrastructure forced recalculation of it. During the scan the java module is not able to do certain things as explained above. Anyway in my free time I am playing with fully transactional java module which allows all features during scan if the source root was already scanned at least once.
Comment 3 Tomas Zezula 2012-01-26 12:44:44 UTC
Fixed jet-main 41985eb45913