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 246917 - Navigation to factories/services/providers
Summary: Navigation to factories/services/providers
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 08:09 UTC by Vladimir Riha
Modified: 2015-09-09 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-08 08:09:35 UTC
It would be very useful to have Ctrl+Click navigation to factories/services/providers. For example if I have following declarations:


myApp.factory('PhoneFct', ['$resource',
  function($resource){
  }]).service('PhoneService', ['$resource',
  function($resource){
  }]).provide('PhoneProvider', ['$resource',
  function($resource){
  }]);


And the injected it "anywhere" (controller, another provider/factory/service, filter... - I think there is a small limited number of AngularJS' functions where DI is possible) like


myApp.controller('PhoneListCtrl', ['$scope', 'PhoneFct',
  function($scope, PhoneFct) {
  }]);


myApp.factory('AnotherFct', ['PhoneFct',
  function(PhoneFct) {
  }]);

Then Ctrl+Click on all PhoneFct occurrences (array items and function parameters) would navigate me to given factory/service/provider.

Thank you