For me that works fine too without a problem. If you provide step by step instructions from beginning to end of what one must do to see the problem you describe, that will help.
Gj On Sun, Aug 5, 2018 at 4:15 PM, Patrik Karlström <[email protected]> wrote: > Den sön 5 aug. 2018 kl 10:31 skrev Geertjan Wielenga > <[email protected]>: > > > I've tried this, didn't need to save between refactoring: > > > > 1. I have this private method (hope this is what you mean by 'private > > function'): > > > > private void sayHello(String name) { > > System.out.println("Hello " + name); > > } > > > > 2. I double-click on the word 'sayHello', press Ctrl-R, and type > 'sayBye', > > and now the method is named 'sayBye'. I immediately press Ctrl-R again, > and > > type 'saySomethingElse'. > > > > No problem, the above works, I have renamed a private method twice using > > Ctrl-R without needing to save the file first or at any other point. > > > > If the above is not what you did, can you explain what you did in a > similar > > way so that it can be reproduced. > > > > Gj > > > > > Following your steps works for me too, but it fails when I have a method > calling the method being renamed: > > private void saySomething() { > sayHello("world"); > } > > private void sayHello(String name) { > System.out.println("Hello " + name); > } >
