The following commands are from a Windows user’s perspective. Similar commands exist for other operating systems.
1. Go to the previous/next cursor point
If you’re file line 33, then you go to line 129 of another file. To go back to line 33, click Ctrl
+ Alt
+ right arrow
. To back use the left arrow key instead.
2. Rename anything
To quickly rename anything, click Shift
+ F6.
If there’s more than one occurrence of the thing you are trying to rename, it will ask you whether you want to rename all occurrences or just that exact one.
3. Select multiple instances of the same text
To select multiple occurrences of the same thing, use Alt
+ J
to select them one after the other.
4. Create a test method
To quickly create a test method click Ctrl
+ Shift
+ T
5. Find in files/module
If you are searching for a class or method, you can click Ctrl
+ Shift
+ F
Once the dialog is opened, you can choose if you want to search in the whole project or in a specific module if you have more than one module in that project.
6. Format code
To format your code, click Ctrl
+ Alt
+ L