How can I do to rewrite a method with only one selected? For instance:
I print first
SomeClass.someMethod():
but then I reminded that this method was different, and the cursor was after the word some and before Method, when I press Ctrl + Space again, it shows some methods, when I press enter, now my method is something like this:
SomeClass.someOneElsesMethod()someMethod();
How do I do it when I press Ctrl + Space and select a method that it just overwrites? I worked like that, but I donβt remember how to do it.
Thank.
source
share