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 229064 - Go to declaration for jQuery call
Summary: Go to declaration for jQuery call
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 10:38 UTC by Vladimir Riha
Modified: 2015-08-07 01:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-04-26 10:38:47 UTC
If I have jquery JS file in my project, then for e.g.

$(document).text("");

Go To Declaration on text() should open my jquery file and text() method. 

Maybe this could be done in general to allow Go to declaration even for unresolved/unrelated method. For instance if I'm calling add() method on some object:

$(document).add()
a.add()

then if I try Go To Declaration, list of all found declaration of function add() in my project would be offered.




Product Version: NetBeans IDE Dev (Build web-main-10391-on-20130425)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-08-06 12:05:09 UTC
Fixed in web-main. All declarations of public symbols are offered.
Comment 2 Quality Engineering 2015-08-07 01:16:42 UTC
Integrated into 'main-silver', will be available in build *201508070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/faaefdfc009e
User: Petr Pisl <ppisl@netbeans.org>
Log: #229064 - Go to declaration for jQuery cal