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: | Improve navigation to methods and sub classes | ||
---|---|---|---|
Product: | java | Reporter: | Egor Ushakov <gorrus> |
Component: | Navigation | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Egor Ushakov
2012-10-17 15:29:03 UTC
another use case is "Utilities.toURI": When I enter Utilities in the "go to type" window there are 6 of them! Now it is impossible to guess which one has toUri method... Fixed jet-main 333188641df1 Implemented as Vladimir suggested, a part of Go To Symbol. You can use: Utilities.toURI Utiliti.toURI Util*.toURI *.parsing*.getFile In general: case sensitive prefix and regexp is supported for simple name ang FQN. If there is a single '.' like Utilities.toURI the string is split into simple name Utilities and element "toURI". If there are more '.' like *.parsing*.getFile the string is split into FQN *.parsing*. and element getFile Integrated into 'main-golden', will be available in build *201305182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/333188641df1 User: Tomas Zezula <tzezula@netbeans.org> Log: #220300:Improve navigation to methods and sub classes works like charm, thanks! Nice. I will add it the Noteworthy page. But you should note that it only works for the sources of the opened projects. It doesn't work symbols in the classpath. For example: "Collec.empty" should find f.e. "java.util.Collections.emptyList" but it doesn't. Is it a bug or should I file a RFE? Goto symbol intentionally works only on sources (not jars) to remove the amount of symbols, for example "compareAndSet" never shows Atomic* as the package j.u.c does not come from project sources. |