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.
Please try this: index.html: <div ng-controller="SettingsController"> Name: <input type="text" ng-click="greet()" ng-disabled="" ng-model="name"/> </div> file.js: function SettingsController($scope) { $scope.name = "John Smith"; $scope.greet = function() { alert(this.name); }; } Now in HTML file, invoke cc for value of ng-disabled => "name" is not offered, so try again Ctrl+Space for "full" JS completion => "no suggestions". Now type "n" like ng-disabled="n" and invoke cc after "n" => different cc list is offered, including "name" property Product Version: NetBeans IDE Dev (Build 201307012300) 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's almost impossible to fix it, because there is no way how to map correctly the original source position to the virtual source. I have created "hack" that should help in this situation. Probably will not work in 100%.
Integrated into 'main-silver', will be available in build *201307022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5d8ca446e754 User: Petr Pisl <ppisl@netbeans.org> Log: #232125 - Inconsistent completion list
Thank you,verified Product Version: NetBeans IDE Dev (Build 201307022300) 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-48-generic-pae running on i386; UTF-8; en_US (nb)