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: | Problems with completion before }} without whitespace | ||
---|---|---|---|
Product: | web | Reporter: | Vladimir Riha <vriha> |
Component: | AngularJS | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | ppisl |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | sample project |
... possibly related is that if you have {{day}} and press Dot after "y", code completion does not come up automatically, it need to be manually invoked. With whitespace before firs }, it works ok. The problem is that the embedding of JS into html has zero length. In such case the Snapshot.getEmbeddedOffset return 0 instead of the right original offset. *** Bug 239090 has been marked as a duplicate of this bug. *** *** Bug 239148 has been marked as a duplicate of this bug. *** |
Created attachment 142858 [details] sample project Please check the attached project: - open client/app/partials/home.html - invoke cc on line 3 inside the {{}} =>nicmoc1 is not offered but if I try it with {{ }} and put cursor at the beginning (right after {{), it will work due to whitespace at the end Product Version: NetBeans IDE Dev (Build 201312050002) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b59 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b117 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)