Main function and System.out.println() shortcut keys in IntelliJ

http://blog.csdn.net/shijiebei2009/article/details/44726433

Main function and System.out.println() shortcut keys in IntelliJ

1. It is slightly different in IntelJ and Eclipse. In Eclipse, enter main and then press Alt+/ to automatically complete the main function, but in IntellJ, enter psvm and select it.

write picture description here

2. There is a for loop inside the method body. In IntellJ, enter fori, and then there will be a prompt, just select the required for loop

write picture description here

3. System.out.println(); in IntellJ is the input sout

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325722170&siteId=291194637
Recommended