2 ms·
As F1 is pretty obvious I'll list some other obvious ones: Right-click on something, choose 'go to definition' - see the code for that method or whatever. When
by codeulike 8y ago
As F1 is pretty obvious I'll list some other obvious ones:
Right-click on something, choose 'go to definition' - see the code for that method or whatever. When you're done, the 'back' button in the toolbar can take you back. Also F12 and Alt-F12 do same/similar
Highlight a method or class name, right-click, choose Rename - will allow you to rename it and then will also rename all references to it
Right-click a block of code, choose 'quick actions and refactorings', then 'extract method'. It will pull out the code, figure out the parameters and create a new method for you.
- delta1 8y ago> Rename - will allow you to rename it and then will also rename all references to it Ctrl + r + r (twice in a row) is the shortcut for this, super useful