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: | Multiple results for 'Go to declaration' shown for constants | ||
---|---|---|---|
Product: | php | Reporter: | Tomas Mysik <tmysik> |
Component: | Editor | Assignee: | rmatous <rmatous> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot |
Description
Tomas Mysik
2009-01-21 16:12:52 UTC
Created attachment 76102 [details]
screenshot
Integrated into 'main-golden', will be available in build *200905070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a89abd84a972 User: Radek Matous <rmatous@netbeans.org> Log: #157248 Multiple results for 'Go to declaration' shown for constants not reproducible for me, but I don't think it was completely fixed, can you reproduce? Unfortunately, still reproducible for me. Product Version: NetBeans IDE Dev (Build 090518) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 System: Linux version 2.6.28-11-generic running on amd64; UTF-8; cs_CZ (nb) Can you attach sources or distilate reproducible case from it. Thanks, because this is one of the issues I would like to fix into 6.7 I will try but frankly, I doubt that I will be able to create some example file... Sorry, I can reproduce this issue only using one specific file. Tomas, is it possible that the files listed in the popups contain more classes which contain UPLOADED_DIR as a constant? In other words if UPLOADED_DIR is declared more times per file? The constant is defined in the first 3 files (see screenshot) just once. The CTRL + click behaviour is weird - once I opened one of those files from the popup, I don't see that popup any more if I CTRL + click the constant again (I'm directly taken to the previously opened file.) Not reproducible for me Cannot reproduce with trunk build. However, I have discovered another problem, see issue #170551. |