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.
Support new way of writing object initializers. Support shorthand property names, shorthand method names and computed property names.
Created attachment 159070 [details] Object Initializer - shorthand property names The property of such literal object is a reference to the original object. So mark occurrences marks all occurrences of the property name and the original variable together. Also, when a new property or method is added to the object literal property or to the original variable, then the property is shared between the object literal property and variable -> mark occurrences works, code completion offers same properties for both objects etc.
Created attachment 159071 [details] Object Initializer - shorthand method names NetBeans are able now handle short way of writing methods of an object literals.
Created attachment 159072 [details] Object Initializer - computed property names NetBeans now handle computed properties names in the right way.
Comment on attachment 159072 [details] Object Initializer - computed property names The computed properties names are not in the model, so are not displayed in navigator, code completion is not able to offer them.