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.
Created attachment 136494 [details] IDE log Please try: index.html <div ng-controller="SettingsController"> Name: <input type="text" ng-click="greet()" ng-model="name"/> </div> file.js: function SettingsController($scope) { $scope.name = "John Smith"; $scope.greet = function() { alert(this.name); }; } Now Ctrl+Click works for "name" in ng-model but does nothing for greet() in ng-click Product Version: NetBeans IDE Dev (Build 201306272300) Updates: Updates available Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)
It seems to be not only function calls, but also properties, e.g. from ng-disabled directive index.html: <!doctype html> <html ng-app> <head> </head> <body ng-controller="SettingsController"> Click me to toggle: <input type="checkbox" ng-model="checked"><br/> <button ng-model="button" ng-disabled="checked">Button</button> </body> </html> file.js: function SettingsController($scope) { $scope.checked = true; $scope.button = ""; }
ng-disabled is not supported at all. I created new issue for it #232058
Thank you, should I check all directives if they are supported? I think that issue 232028 has similar symptoms for ng-change and ng-selected
Yes. Vlado it would be great if you can list the directives, that we can supported in the same way as model or disabled. Thanks
The case with the click fixed. http://hg.netbeans.org/web-main/rev/4f1d574803af
Integrated into 'main-silver', will be available in build *201307012300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4f1d574803af User: Petr Pisl <ppisl@netbeans.org> Log: #232029 - Go to declaration fails for some directives
Thank you, verified Product Version: NetBeans IDE Dev (Build 201307012300) Updates: Updates available Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)