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.

  1. Go to line X
    1. Cmd + l
  2. Navigating inside a file
    1. One word -> Option + forward key
    2. Whole sentence -> Cmd + forward key
  3. If you are looking for a file named “CredentialInputValidator.java”
    1. Tap shift twice and type CIV -> learned this from Shahar.
  4. If you are looking for a method named “buildAndSendToRedis”
    1. Cmd + Shift + f and type it in.
  5. If you are looking for all callers of this method
    1. Immediate Callers - Have your cursor over the method & press Cmd + b.
    2. Call Hierarchy - Have your cursor over the method & press Ctrl + Option + h.
  6. If you want to see implementations of an interface
    1. Have your cursor over the interface name and press Cmd + Option + b.
  7. Find who the hell wrote this code
    1. Create annotation shortcut
      1. Cmd + ,
      2. Search for “annotate”
      3. Assign a keyboard shortcut Cmd + Shift + m.
  8. Split Right
    1. Ctrl + Shift + a
  9. Switch between tabs
    1. Option + tab