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 146806 [details] IDE log Please see the attached project and open index.html: - on line 33 delete the "day" string from ng-bind and invoke cc => page, printAttempt, day are not offered (printAttempt is but only because it is used on line 32) => if you type day and press dot for code completion ng-bind="day." Then properties of Date are not offered. The same goes for printAttempt. This works in NB 8.0. => if you use one of the mentioned properties, it is purple as global and Go To Declaration does not work. Product Version: NetBeans IDE Dev (Build 201404170001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 146807 [details] sample project
Possible patch candidate if caused by issue 243773 or some other patch candidate. Could you please evaluate? Thank you
Starting evaluation.
Ahoj, I have just tested your sample project, but it works for me. I can see in code completion in index.html file "constancts", "csscolor", "day", "foo" and other properties comming from file.js. Also printAttempt object. The go to declaration works as expected. Vlado could you try again with clean userdir (I mean with deleting index cache). Marking as works for me. But please, reopen if it doesn't work for you. Thanks.
I'm sorry, still no luck. Here's a short screencast to see the issue, you can see that cc does not offer properties from Ctrl() (and their properties) and Go To declaration is not working and it is purple as global. Screencast: https://drive.google.com/file/d/0B6Sd5ov8j7IUeWdsUk1scWlwcms/edit?usp=sharing Product Version: NetBeans IDE Dev (Build 201404180001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Hmm, still it works for me:). The day and printAttempt are black in my case and navigation and cc works as expected. Did you try to delete the index cache? I will try to find out more.
What build of the ide do you use?
So we find out that it doesn't work with JDK8. It works correctly with JDK7. I will investigate more.
The regression was caused by fix of issue #243647
I have rallback the fix from web-main. So marking as fixed. Also needs to be rallback from releases80.
Verified Product Version: NetBeans IDE Dev (Build 201404230001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Thanks, the "rallback" is transplanted to the releases/release80. Because its remove the fix of issue #243647, I'm deleting the 80patch1-candidate whiteboard.
Integrated into 'main-silver', will be available in build *201404250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0e7df0eebb24 User: Petr Pisl <ppisl@netbeans.org> Log: #243888 - Properties and their properties from child controller not offered adding test