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.
Summary: | Navigator is empty until all projects are fully parsed | ||
---|---|---|---|
Product: | java | Reporter: | Egor Ushakov <gorrus> |
Component: | Navigation | Assignee: | 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
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??? 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.
Fixed jet-main 41985eb45913 |