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 247293 - Code completion for template differs if closing attribute quote is missing
Summary: Code completion for template differs if closing attribute quote is missing
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Knockout (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2014-09-19 08:55 UTC by Vladimir Riha
Modified: 2015-09-09 11:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (33.31 KB, text/plain)
2014-09-19 08:55 UTC, Vladimir Riha

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-19 08:55:00 UTC
Created attachment 149358 [details]
IDE log

Please try following:

JS file:
function SimpleMode(){
    var self = this;
    this.pureName = ko.pureComputed(function(){
        return "<b>"" "+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)