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: | Go To Declaration fails for some functions | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Navigation | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | kabuki, vriha |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 231613, 231530, 231531, 231533 | ||
Bug Blocks: | |||
Attachments: |
sample project
another case minimal example of "go to Declaration" lossage 3 failing cases ctr+click 1: multiple namespaces (probably fixed with bug 225755) 2. prototype inheritance 3. function wrapped object |
Created attachment 124136 [details]
another case
Try Ctrl+Click on one of following:
- line 20 on ContentNegotiation
- line 45 on negotiateContent
neither of them is working. If you remove lines 19-33 (all "accepts" declarations), it works fine
Another case: 1) Download project from https://github.com/ladariha/synergy/downloads 2) open Synergy_Client in IDE, open [site root]/js/controllers.js 3) find e.g. this line: $http.get(window.SYNERGY.server.buildURL("specifications", query)).success(function(data) { => try to Ctrl+Click on SYNERGY, server or buildURL. Nothing works Product Version: NetBeans IDE Dev (Build 201210290001) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb) Created attachment 130096 [details]
minimal example of "go to Declaration" lossage
the attached file is a minimal (5 lines of code) example that demonstrates "go to Declaration" not working. removing the final line causes the goto to work correctly
"next occurrence" and "previous occurrence" work correctly
I guess Navigation is better component for this *** Bug 225758 has been marked as a duplicate of this bug. *** Created attachment 131234 [details] 3 failing cases ctr+click 1: multiple namespaces (probably fixed with bug 225755) 2. prototype inheritance 3. function wrapped object Jasmine testcases but ctr+click can be tested inline I'm going to split the cases to the different issues. |
Created attachment 124029 [details] sample project Try Ctrl+Click on equal in qunit_tests.js. I have no idea why it's not working but it is not related to jumping from one file to another Product Version: NetBeans IDE Dev (Build 201209070001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)