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 237946

Summary: Content of code completion for expression depends on closing braces
Product: web Reporter: Vladimir Riha <vriha>
Component: AngularJSAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: mfukala, ppisl
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2013-11-04 12:45:50 UTC
Please use HTML & JS files from [1]. If you open HTML file and place cursor on line 12 and type {{ and invoke cc, then "lastName" is not offered and also properties from SettingsController are not offered.  

If you close braces {{ | }} and invoke cc inside, "lastName" is offered and completion list is different (better - contains properties of the controller)



[1] http://services.netbeans.org/synergy/client/app/#/title/angularjs_support/



Product Version: NetBeans IDE Dev (Build 201311040001)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-02-04 09:24:17 UTC
I know about this. The problem is that until the el is not closed, then the top language doesn't delegate to the Angular.
Comment 2 Roman Svitanic 2014-11-24 08:08:24 UTC
*** Bug 232002 has been marked as a duplicate of this bug. ***