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.
Summary: | Usage of reserved keyword in expression marked as error | ||
---|---|---|---|
Product: | web | Reporter: | Vladimir Riha <vriha> |
Component: | AngularJS | Assignee: | Petr Pisl <ppisl> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mfukala, ppisl |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vladimir Riha
2013-05-16 19:12:44 UTC
Petre, can you take a loot at that please? The problem is that we don't know the controller from the snippet. The controller can be defined else where, so we don't find the $scope.case property -> is put as global. We need to find out way, how to get the controllers to the snippet, or at least to know that the file is a part of an angular application. The problem with the error is fixed with the change: http://hg.netbeans.org/web-main/rev/180641751c9b Now the embedding is done only on lexical level. The semantic level(parser) is switch off by default and only embedding plugins can handle it. Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/180641751c9b User: Petr Pisl <ppisl@netbeans.org> Log: #229605, #229887, #230223 Thanks, verified Product Version: NetBeans IDE Dev (Build 201305292301) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-44-generic-pae running on i386; UTF-8; en_US (nb) |