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.
The line below "{{ myObject['alpha'] }}" gets highlighted in the editor as "Expected ] but found ;". It is a valid AngularJS expression. Could you guys please fix this issue? It flags many files in my projects as having errors. A test file is below. BTW, I love Netbeans. Thank you all for your hard work. 7.4 is coming along nicely. <!DOCTYPE html> <html data-ng-app=""> <head> <title>Test Page</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width"> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.2/angular.js"></script> </head> <body> <div data-ng-init="myObject = {alpha: 1, bravo: 2, charlie: 3}"> {{ myObject['alpha'] }} </div> </body> </html>
Thank you for reporting, works fine in 7.4 RC1 Product Version: NetBeans IDE 7.4 RC1 (Build 201309112301) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
I don't know why I thought the Beta was being patched. My mistake. I'll use the latest dev build from now on when filing. Thanks for pointing it out to me. May I just say the latest dev build is amazing. Wow guys. Seriously great stuff.