Skip to content

Instantly share code, notes, and snippets.

@ctrueden
Last active October 11, 2023 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrueden/67c022b1a946fe44fc867b13a12bbf3b to your computer and use it in GitHub Desktop.
Save ctrueden/67c022b1a946fe44fc867b13a12bbf3b to your computer and use it in GitHub Desktop.
IDE shortcuts
Operation IntelliJ calls it IntelliJ (Win/Linux) IntelliJ (macOS) Eclipse calls it Eclipse (Win/Linux) Eclipse (macOS)
Look up where a variable or class is actually used/referenced Find usages alt+shift+7 alt+F7 Global lookup ctrl+shift+G cmd+shift+G
Move the cursor to the next compile error or warning Jump to next problem F2 F2 Next ctrl+. cmd+.
Show recommended fixes for the selected problem Pop up context actions alt+enter alt+enter Show quick fixes ctrl+1 cmd+1
Go to where a variable or class is first declared Jump to declaration ctrl+B cmd+B Open declaration F3 F3
Switch editor tabs previous/next editor tab alt+left, alt+right cmd+shift+[, cmd+shift+] ctrl+pgup/pgdn ctrl+pgup/pgdn
Display the members (fields & methods) of the currently open class Show structure ctrl+F12 cmd+7 Show outline alt+cmd+Q, O
Pop up documentation for the selected member Quick documentation ctrl+Q Show tooltip description F2 F2
Open a type search dialog Navigate > Class ctrl+N cmd+O Open type ctrl+shift+T cmd+shift+T
Open a file search dialog Navigate > File ctrl+shift+N Open resource ctrl+shift+R cmd+shift+R
Open subtype/supertype dialog for the selected member Type hierarchy ctrl+H (classes only) Show class hierarchy ctrl+T cmd+T
Show implementations of an interface type or one of its methods Go to implementation(s) ctrl+alt+B cmd+option+B Show class hierarchy ctrl+T cmd+T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment