Computer basics

IntelliJ shortcut on Mac

seoca 2019. 2. 27. 08:04
Double-Shift : Search a file or class  
'fori' + Enter for-loop
'sout' + Enter : System.out.println 
Ctrl + R Run
Cmd  + Click specific class or method : Going to implementation or declaration 
Cmd + N , Ctrl + Ener Getter/Setter/Constructor/override auto-generated  
Cmd + Option + L Format(align the code in a scope) 
Option + Enter Import 
Ctrl + Option + O : Delete unused import 
Shift + Fn + F6 : Rename

Debugging 
Fn + F7 Next line 
Fn + Shift + F8 : Previous line  
Comment
Cmd + / : Single line comment 

Cmd + Shift + / : Block comment