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 230752 - Go to declaration not fully work
Summary: Go to declaration not fully work
Status: REOPENED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-05 05:02 UTC by Lamks
Modified: 2013-06-11 13:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Go to declaration not fully work (132.42 KB, image/png)
2013-06-06 07:52 UTC, Lamks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lamks 2013-06-05 05:02:29 UTC

    
Comment 1 Lamks 2013-06-05 05:06:56 UTC
Some code, "go to declaration" can show me the code declaration position.
But some are not. "go to declaration" not fully work.
I use Netbeans for HTML5 project.
Comment 2 Marian Mirilovic 2013-06-06 05:43:52 UTC
Could you be more specific ? .... 

Please follow http://wiki.netbeans.org/IssueReportingGuidelines and reopen with all appropriate informations, thanks in advance.
Comment 3 Lamks 2013-06-06 07:52:30 UTC
Created attachment 135418 [details]
Go to declaration not fully work

I attach a screen shot file to explain the problem. The arrow with "OK" means that "go to declaration" is working fine. Whereas the "Not OK" means that "go to declaration" not working.

The sample project file can be download from this link https://github.com/rengelbert/moon-herder-html5.
Comment 4 Lamks 2013-06-06 07:53:55 UTC
Comment on attachment 135418 [details]
Go to declaration not fully work

I attach a screen shot file to explain the problem. The arrow with "OK" means that "go to declaration" is working fine. Whereas the "Not OK" means that "go to declaration" not working.

The sample project file can be download from this link https://github.com/rengelbert/moon-herder-html5.
Comment 5 Vladimir Riha 2013-06-11 08:59:47 UTC
Reproducible, it seems that addChild() is declared cc.TMXLayer (file TMXLayer.js) and on the screenshot, referenced "this" is coming from

var GameLayer = cc.Layer.extend({
this.addChild()
});

So it looks like framework specific usage
Comment 6 Lamks 2013-06-11 13:48:37 UTC
Comment on attachment 135418 [details]
Go to declaration not fully work

If I using Webstorm to open the project, there is no problem.
U can download Webstorm (30 days trial)  to test it.
I have tested that the problem come from Netbeans not the sample project.