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.
I have a javascript file with this content: function foo () { } function bar() { foo() } I step on foo() (I tried both on the first line or on the 5th line) and I select menu Refactoring | Rename. I get a dialog asking for name, I type something ("ahoj") and the result is that the whole file looks like this: ahojfunction bar() { foo() }
reproducible, bounds in refactoring element have to be set for function name only
*** Issue 101174 has been marked as a duplicate of this issue. ***
Fixed.
VERIFIED