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 229695 - code completion for ng-controller directive value
Summary: code completion for ng-controller directive value
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 3 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 07:46 UTC by Marek Fukala
Modified: 2015-09-09 11:38 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 Marek Fukala 2013-05-14 07:46:03 UTC
It would be useful if the code completion offers all available controllers in the attribute value. I believe we can gather them by the function's $scope argument pattern.

function xxx($scope) {
...
} => angular's controller.
Comment 1 Petr Pisl 2013-05-14 07:53:13 UTC
I agree. The current situation is that the code completion is offered by JS Editor that doesn't know nothing about the Angular. We need to somehow filter the result in Angular module, or choose different approach.