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 # : 200904201507 ] [ JDK VERSION : 1.6.* ] 1. Create a new JSP 2. Add a variable var testVariable; 3. Place caret in `testVariable' and press CTRL+R (Refactor > Rename) -- `Preview' button is incorrectly enabled. -- Error text is not visible 4. Altering text then placing back to what it was will show the error text and disable the button as expected. * Should the `Refactor' button be enabled? As it never seems to get enabled.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Confirmed OK now, it seems that JavaScript variables at some point got inline refactoring which seems to have resolved the issue. Interestingly investigating this does reveal a new bug though, right clicking on a JavaScript member and selecting "Refactor > Rename..." brings up the error "The rename refactoring cannot be applied in this context.", though using CTRL+R does work.