Idea common settings (continuous update) and idea continuous update
1. Comment the Template
Find live Templates in Setting
(1) create a Templates Group
(2) create a Live Template under the Templates Group
2. Common built-in templates
Java:
Itar --> General for loop (I ++)
Ritar --> General for loop (I --)
Iter --> foreach
Sout --> System. out. println ();
Serr --> System. err. println ()
Fori --> common for Loop
FN --> if (xxx = null ){}
Inn --> if (xxx! = Null ){}
Lazy --> if (xxx = null) {xxx = new XXX ();}
Psvm --> main method
SQL:
Ins --> insert into () values ();
3. Common shortcut keys
Select Eclipse shortcut keys
Alt + Enter --> code prompt
Alt + Insert --> Generate setter and getter Methods
Alt + Shift + R --> Search for Class
Alt + Shift + Z --> try-catch
Ctrl + G --> View method callers
Ctrl + H --> global search
Alt + left and right arrows --> jump to the previous or next position
Shift double-click --> idea special global search
Alt + Shift + R --> rename