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.
When I want to refactor some code and maybe I see this: http://pastebin.com/wkWKKYR2 I want to select the phrase: myObject.thisIsAnArray.length and type a hotkey or right click > refactor > create variable. and this should be look like this: http://pastebin.com/GX2QLvJp This feature is already implemented in intelliJ and very helpfull. Regards Chris
Here I mean the part which Java already has: Select a text and press alt + enter and you see the hint: introduce Variable..., field..., member... Assign return value to new Variable. Those options are missing for JavaScript.
I'm going to look at this. Hope there will be more time to implement this soon.
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-14. Please feel free to change the state of the ticket.