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.
Testcase [Web Client] KnockoutJS support -> Parent Have JS file (source: KnockoutJS documentation) *-*-*-* function AppViewModel() { var self = this; self.people = ko.observableArray([ { name: 'Bert' }, { name: 'Charles' }, { name: 'Denise' } ]); self.addPerson = function() { self.people.push({ name: "New at " + new Date() }); }; self.removePerson = function() { self.people.remove(this); } } ko.applyBindings(new AppViewModel()); *-*-*-* and HTML file *-*-*-* <h4>People</h4> <ul data-bind="foreach: people"> <li> Name at position <span data-bind="text: $index"> </span>: <span data-bind="text: name"> </span> <a href="#" data-bind="click: $parent.">Remove</a> </li> </ul> <button data-bind="click: addPerson">Add</button> *-*-*-* Steps: In HTML file, invoke cc after "$parent." Expected result: people, addPerson() and removePerson() are offered. Try it again, but replace $parent with $parents[0] and then with $root The required attributes aren't purposed by auto complete. A ctrl + click on "people" (line 2) correctly open the js file.