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 221022 - Learning code completion for all variables
Summary: Learning code completion for all variables
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-29 12:52 UTC by Vladimir Riha
Modified: 2012-11-02 03:28 UTC (History)
1 user (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 2012-10-29 12:52:21 UTC
It seems that the learning feature is not available in all cases. Please check this sample:


function SpecPoolCtrl($scope, $rootScope, $http, $location, $routeParams) {
    $scope.specs = [];
    $scope.version = $routeParams.id || '';
    $scope.loads = 0;
    $scope.orderProp = 'title';
    $scope.currentAction = "";
    $scope.currentActionId = -1;
    $scope.rights = 0;

$scope. // CC here

}


Defined properties of $scope are not offered



Product Version: NetBeans IDE Dev (Build 201210290001)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2012-11-01 02:58:22 UTC
Fixed in web-main. 
http://hg.netbeans.org/web-main/rev/06d6aa6ffb74
Comment 2 Vladimir Riha 2012-11-01 07:50:23 UTC
thanks, verified


Product Version: NetBeans IDE Dev (Build web-main-9067-on-20121101)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 3 Quality Engineering 2012-11-02 03:28:58 UTC
Integrated into 'main-golden', will be available in build *201211020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/06d6aa6ffb74
User: Petr Pisl <ppisl@netbeans.org>
Log: #221022 - Learning code completion for all variables