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 243925

Summary: ctrl+click on variable locates wrong place if controllers defined in different way
Product: web Reporter: meanyack
Component: AngularJSAssignee: Roman Svitanic <rsvitanic>
Status: RESOLVED FIXED    
Severity: normal CC: ppisl
Priority: P4    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: sample angular project

Description meanyack 2014-04-18 19:08:55 UTC
Created attachment 146829 [details]
sample angular project

If you defined controllers as an object, Netbeans doesn't know where to navigate on ctrl+click. For example, if your definition is like 

`
app.controller({
    controller1: function($scope) {
        ...
    },
    controller2: function($scope) {
        ...
    }
});
`
netbeans doesn't understand it. See sample project.
Comment 1 Roman Svitanic 2014-10-14 14:32:29 UTC
Changeset: 21c0103a59b0
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2014-10-14 16:32
Message:   #243925: Support for AngularJS controllers declared as an object map
Comment 2 Quality Engineering 2014-10-15 03:07:44 UTC
Integrated into 'main-silver', will be available in build *201410150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/21c0103a59b0
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #243925: Support for AngularJS controllers declared as an object map
Task #243925 - ctrl+click on variable locates wrong place if controllers defined in different way