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 232062 - Properties of object literal property not offered by cc
Summary: Properties of object literal property not offered by cc
Status: VERIFIED 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-01 08:21 UTC by Vladimir Riha
Modified: 2013-07-16 08:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (53.67 KB, text/x-log)
2013-07-01 08:21 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-07-01 08:21:20 UTC
Created attachment 136526 [details]
IDE log

Please try:

index.html:
<div ng-controller="Ctrl">
<span ng-model="printAttempt."></span>
</div>

file.js:
function Ctrl($scope) {
    $scope.printAttempt = {
        number: 1,
        total: 2
    }
}


and in HTML file, invoke cc after the dot

=> "number" and "total" are not offered. If I use e.g. $scope.test= new Date() then cc offers properties of Date for "test."



Product Version: NetBeans IDE Dev (Build web-main-10945-on-20130629)
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
Comment 1 Petr Pisl 2013-07-15 16:39:19 UTC
Should be fixed in web-main:
http://hg.netbeans.org/web-main/rev/f2b6909770a8
Comment 2 Quality Engineering 2013-07-16 02:35:53 UTC
Integrated into 'main-silver', will be available in build *201307152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f2b6909770a8
User: Petr Pisl <ppisl@netbeans.org>
Log: #232062 - Properties of object literal property not offered by cc
Comment 3 Vladimir Riha 2013-07-16 08:22:15 UTC
Thank you, verified


Product Version: NetBeans IDE Dev (Build 201307152300)
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)