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

Summary: code completion for ng-controller directive value
Product: web Reporter: Marek Fukala <mfukala>
Component: AngularJSAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: ppisl
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.