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 246268 - Navigation problems with framework rAppidjs
Summary: Navigation problems with framework rAppidjs
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-05 08:46 UTC by Christian Lenz
Modified: 2014-08-05 08:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Resolve base ctor (204.68 KB, image/png)
2014-08-05 08:47 UTC, Christian Lenz
Details
Resolve property (131.63 KB, image/png)
2014-08-05 08:48 UTC, Christian Lenz
Details
Go to symbol (26.88 KB, image/png)
2014-08-05 08:48 UTC, Christian Lenz
Details
Project with rAppid.js (746.36 KB, application/x-7z-compressed)
2014-08-05 08:50 UTC, Christian Lenz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2014-08-05 08:46:51 UTC
In my daily work, I have to use the JS framework rAppid.js (https://github.com/rappid/rAppid.js). I had big problems with navigation inside the file to methods or properties, because netbeans will not resolve the abstract syntax tree correct for javascript files (only my opinion, maybe there is an other problem).

A colleague uses intelliJ and he has no problems, I tested it with intelliJ too and yes they have a better support for new frameworks I think or a better javascript implementation.

Here are my problems:

I added the project to the ticket and if you open the file public/app/RappidTestAppClass.js you see that the navigator is empty. I created a ticket for anonymous objects inside funtion calls: https://netbeans.org/bugzilla/show_bug.cgi?id=243140. No problems with intelliJ, the structur window shows you the right properties.

I can't jump to the callBase method of the parent, I only hear a "ping" when I do CTRL + click on it, and nothing happens. The same for this.$.appName. What I expect is that netbeans jumps to appName inside the default object. As you can see, when the cursor is inside the word, they will select it but the appName inside the default object will not be highlighted. See my screenshot, how intelliJ will handle this (resolveBaseCtor, resolveproperty). They find some more declarations for callBase, appName and will give you a list where I can jump to the right one.

Go to symbol works fine, as you can see it in my screenshot (Go to symbol). They find start, callBase and appName.
Comment 1 Christian Lenz 2014-08-05 08:47:38 UTC
Created attachment 148543 [details]
Resolve base ctor
Comment 2 Christian Lenz 2014-08-05 08:48:11 UTC
Created attachment 148544 [details]
Resolve property
Comment 3 Christian Lenz 2014-08-05 08:48:30 UTC
Created attachment 148545 [details]
Go to symbol
Comment 4 Christian Lenz 2014-08-05 08:50:55 UTC
Created attachment 148546 [details]
Project with rAppid.js

Here is the project, which I created.


Regards

Chris