IntelliJ IDEA: Keystrokes I commonly use on MacOS (OS X)

As a quick note, this is a list of the IntelliJ IDEA keystrokes I use on my MacOS systems:

NAVIGATION
----------
First line             fn ⌘ ←
Last line              fn ⌘ →
Goto line              ⌘ L
Previous tab           ⇧ ⌘ [
Next tab               ⇧ ⌘ ]
Search everywhere      ⇧ ⇧

Jump to declaration    ⌘ b
Nav to symbol          ⌘ ⌥ o
Show file symbols      fn ⌘ f12


CODE
----
Run                    ⇧ ⌃ r
Open file              ⇧ ⌘ o
Open class             ⌘ o
Refactor               ⌃ t


VARIABLES
---------
Show var type          ⌃ ⇧ p
Add type to var        ⌥ ⏎    (alt enter)

I’ll add more keystrokes as I learn them, but those are the IntelliJ keystrokes I use on MacOS most often. I primarily write Scala code, but I think those are valid for Java and other languages.

Here are links to a few IntelliJ IDEA resources:

Share it!

There’s just one person behind this website; if this article was helpful (or interesting), I’d appreciate it if you’d share it. Thanks, Al.

Add new comment

The content of this field is kept private and will not be shown publicly.

Anonymous format

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul type> <ol start type> <li> <pre>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.