Intellij
May 5, 2021
1% improvement
tips
intellij
Intellij
The main purpose of this document is to reduce using the mouse as much a possible. You'll be more productive, get tasks done faster and out the door quicker.
(1% Improvement - How are the brits so good at sitting on their arses?)
Intellij has tons of features. Here are some that have been useful for me. I can make lists but you have to try them yourself.
- Go to line X
- Cmd + l
- Navigating inside a file
- One word -> Option + forward key
- Whole sentence -> Cmd + forward key
- If you are looking for a file named “CredentialInputValidator.java”
- Tap shift twice and type CIV -> learned this from Shahar.
- If you are looking for a method named “buildAndSendToRedis”
- Cmd + Shift + f and type it in.
- If you are looking for all callers of this method
- Immediate Callers - Have your cursor over the method & press Cmd + b.
- Call Hierarchy - Have your cursor over the method & press Ctrl + Option + h.
- If you want to see implementations of an interface
- Have your cursor over the interface name and press Cmd + Option + b.
- Find who the hell wrote this code
- Create annotation shortcut
- Cmd + ,
- Search for “annotate”
- Assign a keyboard shortcut Cmd + Shift + m.
- Create annotation shortcut
- Split Right
- Ctrl + Shift + a
- Switch between tabs
- Option + tab