Skip to content

Instantly share code, notes, and snippets.

@modu
Created May 25, 2018 21:17
Show Gist options
  • Select an option

  • Save modu/84dfb981c626353f8d9c81c0c9171e4d to your computer and use it in GitHub Desktop.

Select an option

Save modu/84dfb981c626353f8d9c81c0c9171e4d to your computer and use it in GitHub Desktop.
Daily used Intellij Keyboard shortcuts [Mac]
⌥ —> Option ( alt )
^ —> Control
command + G for next occurance of word.
command + 7 for substructure
command + 1 for project
command + B for going to declaration or definition of the tag
shift + F6 to rename the file.
command + Alt + L for auto format
command + shift + A —> all action option [ Very useful to close project or open recently used project ]
command + F12 —> for getting list of methods in displayed class or files. You can also get inherited methods :)
To navigate to the code block start, press ⌥⌘[, with the caret anywhere inside the code block.The caret jumps to the opening brace of the current code block.
To navigate to the code block end, press ⌥⌘], with the caret anywhere inside the code block.The caret jumps to the closing brace of the current code block.
To toggle between code block start and end ^M
Press ⇧⌘] or ⇧⌘[. So doing, the focus moves to the editor tab located next to the right or to the left from the active editor tab.
alt+f12 —> for see terminal window.
escape to go back to window editor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment