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 233147 - Problems with Go To Declaration with some directives
Summary: Problems with Go To Declaration with some directives
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-22 07:34 UTC by Vladimir Riha
Modified: 2014-01-28 10:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-07-22 07:34:48 UTC
Please try:

index.html:

  <div ng-controller="PhoneDetailCtrl">
        <div ng-bind="pokus">
            
        </div>
    </div>

file.js:
function PhoneDetailCtrl($scope, $routeParams, Phone) {
    $scope.pokus = 1;
    $scope.phone = {};
    $scope.setImage = function(imageUrl) {}
}



Following directives in the 2nd div have problems with Go To Declaration to JS file:

- ng-bind
- ng-bind-html-unsafe
- ng-change
- ng-checked
- ng-readonly
- ng-selected
- ng-dblclick
- ng-hide
- ng-show
- ng-class (+ ng-class-even, ng-class-odd)
- ng-submit
- ng-mousedown, ng-mouseenter, ng-mouseleave, ng-mousemove, ng-mouseup,
ng-mouseover



Product Version: NetBeans IDE Dev (Build 201307212300)
Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-01-28 10:36:44 UTC
Should work in a dev build.