IDEA common code generation shortcuts

 

sout:   System.out.println

psvm: the main function

fori: simple for loop

Collection .for: Enhanced for loop

 

---------------------------------- commonly used shortcuts ------------ ------------

Alt + Enter: one size fits all (the red line to press it)

Ctrl + Alt + L: Format Code

Ctrl + H: Check structural relationships

Ctrl + N: Quick Search

Ctrl + 0: Rapid override the parent class method

Ctrl + x: delete a line of code

Ctrl + F12: pop-up page outline

Ctrl + shift + /: multiline comments or comments untie

Ctrl + /: single-line comment or unwound Notes

 

        

Guess you like

Origin www.cnblogs.com/czgxxwz/p/11569454.html