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: | Please add navigation for angular dependencies. | ||
---|---|---|---|
Product: | web | Reporter: | Christian Lenz <chrizzly> |
Component: | AngularJS | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | ppisl |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | gulpAng test app |
Description
Christian Lenz
2015-06-04 13:25:38 UTC
This feature is still available in IntelliJ. Now I use an other folder structure which is called packageg by feature and not package by layer. \myModule ...myModule.js (Ctrl + Directive, is needed) ...myModule.tpl.html ...myModule.service.js Created attachment 158084 [details]
gulpAng test app
I think there is some navigation in, but int only works for properties or functions and not for the object itself. I have a Ctrl and I DI the testMapping service, which is on the same namespace of the main module (gulpAng). I can't navigate to the file when I Ctrl + Click it or hit F12. I don't get any code completion for this service but it returns an JS Object with some properties (Only testcase for this but this is a real world problem). I only can navigate when I hit testMapping.FirstThing. Then everything is fine. Navigation to methods doesn't work too. I added the project and you can reproduce the problem inside main.controller.js in line 12. You can Ctrl + click testMapping which navigate to the argument testMapping but if you hit ctrl + click on the argument, nothing happens. If you ctrl + click on FirstThing, it navigates to the file to the right position. if you type "testMapping." the properties where not found. Regards Chris The strange is, the navigation works for some functions and properties, but there is no code completion via typing ^^. So navigation works, code completion not. And an other thing is when I navigate to a function definition, it sometimes opens the dist/myModule.js file and navigates to the builded stuff. I changed it to bug, if we can split it, I can create new tickets for this, if you want. |