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.
[ BUILD # : 200809271401 ] [ JDK VERSION : other ] When Renaming JavaScript method, if an incorrect name is given like null or blank, the dialog mentions that its not a valid Ruby method name. Since there is no Ruby involved here, only JavaScript, the dialog should not mention Ruby. Check screenshot for example
Created attachment 70745 [details] The screenshot of the rename method dialog for JavaScript
Created attachment 70746 [details] The screenshot of the rename method dialog for JavaScript
Fixed in changeset 048afaa66789 (not yet pushed). The JavaScript refactoring code was based on the Ruby one which is why there were some references to Ruby that hadn't been properly updated. While in there I also corrected some references from "method" to "function" as well.