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.
TEST CASE --------- function testNetbeansIDE() { $variableName = "test"; } If the cursor is on "variableName" Ctrl+R will put us in inline refactoring mode. However, if you put the cursor at |$variableName Ctrl+R opens a "Reanme" dialog for refactoring. It doesn't need to open the dialog, it should be inline refactoring.
Not so easy as it looked like :) Will have to solve it together with CSL infrastructure, which provides a mechanism for instant rename.
We need a change in CSL API (introduce new InstantRenamer2 interface which will provide a method for getting an OffsetRange which will be used as a reference to region, where physical rename will be applied). E.g. public interface InstantRenamer2 extends InstantRenamer { @NonNull OffsetRange getReferenceRegion(@NonNull ParserResult parserResult, int caretOffset); }
Not a P3 IMHO. Thanks for reporting.