Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Shortcut Keys

...

IntelliJ Mac Cheatsheet: https://resources.jetbrains.com/assets/products/intellij-idea/IntelliJIDEA_ReferenceCard_mac.pdf


Helpful Commands

Key Command

How to access

Command/Screen

Shift, Shift
 

Search everywhere
CMD Shift FMenu → Edit → Find → Find in PathFind in path
CMD - <click on method>
 

Go to usage or open dialog with usages
CMD - bRight Mouse Click → Goto → DeclarationGo to declaration
Shift CMD F8
 

Breakpoints
ALT Enter
 

Add Import (click on class to import and hit ALT-Enter)
CMD /
 

Comment out line(s)
F1
 

Java Doc
CMD - nMenu → Code → GenerateGenerate - generate getters/setters, etc..
CTRL - oMenu → Code → Override MethodsOverride Methods
CTRL - i
 

Implement Methods
CTRL-ALT-oMenu → Code → Optimize ImportsOptimize Imports
CMD [Menu → Navigate → BackBack
CMD ]Menu → Navigate → ForwardForward
CMD - zMenu → Edit → UndoUndo
CMD - Shift - zMenu → Edit → RedoRedo
CMD - Down ArrowRight Mouse (on project/module) → "Open Module Settings"Module Settings: specify source folders, paths and dependencies.
NARight Mouse→Git → HistoryGit History
NARight Mouse → Git → AnnotationsGit Annotations - see who changed what line in file.
ALT - F7Right Mouse - Find UsagesShow Usages - show what classes use this class.

 


Settings

Disable Reformat on Paste

Image Added

Clear Cache

If you get funny behaviour in your IDE, you can invalid the cache!

Image AddedImage Added