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 - ctrl+click on variable locates wrong place if controllers defined in different way
Summary: ctrl+click on variable locates wrong place if controllers defined in differen...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P4 normal with 1 vote (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 19:08 UTC by meanyack
Modified: 2014-10-15 03:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample angular project (149.18 KB, application/octet-stream)
2014-04-18 19:08 UTC, meanyack
Details

Note You need to log in before you can comment on or make changes to this bug.
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