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.
Summary: | Code completion does not offer items from child controller | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | ppisl, rsvitanic |
Priority: | P3 | Keywords: | REGRESSION |
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
sample project |
Created attachment 150230 [details]
sample project
Issue can be reproduced in plain JavaScript editor: function Ctrl1($scope) { $scope.prop1 = 'text1'; } function Ctrl2($scope) { $scope.prop2 = 'text2'; } (function () { var $scope = Ctrl1.$scope; with ($scope) { (function () { var $scope = Ctrl2.$scope; with ($scope) { prop| // invoke CC instead of "|" } }); } }); on line with "prop|" after invoking the CC, "prop2" should be offered as well. |
Created attachment 150229 [details] IDE log Please check the attached project and : - open index.html - place cursor to line 30, column 51 <div ng-click="print()" ng-model="^"></div> - invoke cc => "page" is not offered (it is declared in Ctrl in file.js). Used to work in 8.0.1. Thank you Product Version: NetBeans IDE Dev (Build 201411030002) Updates: Updates available Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)