Replies: 3 comments
-
Works exactly as before. Please provide a sample and information which language you are talking about. You can also try to remove the NetBeans cache directory (Help -> About), the index held there sometimes gets corrupted. |
Beta Was this translation helpful? Give feedback.
-
inline rename works only under certain conditions. It is mostly intended for local changes when usages don't escape the class. Renaming record components will also often trigger a full rename refactoring session since it has to rename them across the constructor, potentially overridden synthetic getters etc. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I've traced this to an odd configuration in keymaps that I think has changed. For reference the following would trigger the dialog, renaming any of the members would cause the dialog. private void rename(String p) {
var thing = "test";
System.out.println(thing);
} It turns out that there is either a new "Rename" in keymaps (there are presently 4), with the one in category "Other" being what renames inline, and the one in "Refactor" being the one that opens the dialog. Prior to 25, my export of settings had only "Refactor" which previously controlled both. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Before raising a bug report, I thought to ask in a discussion if anyone else is experiencing this, or if the keybinding has changed, though I couldn't find anything.
When pressing CMD+R on a private member, rename used to rename the private member and all local occurrences. Now it will always open the rename dialog.
Beta Was this translation helpful? Give feedback.
All reactions