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: | Code completion for template differs if closing attribute quote is missing | ||
---|---|---|---|
Product: | web | Reporter: | Vladimir Riha <vriha> |
Component: | Knockout | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | phejl |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Created attachment 149358 [details] IDE log Please try following: JS file: function SimpleMode(){ var self = this; this.pureName = ko.pureComputed(function(){ return "<b>"+self.name+" "+lastName+"</b>"; }); } ko.applyBindings(new SimpleMode()); and in HTML file: ... <div data-bind="template: {name 'a', data : |} ... and invoke code completion at place of "|" => pureName is not offered. It is if the data-bind attr is closed <div data-bind="template: {name 'a', data : |}" Thank you Product Version: NetBeans IDE Dev (Build web-main-1301-on-20140919) Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)