Simple use of java intellij tools

First, the directory structure

1, the new project (Empty Project) -> new module (there can be multiple) => out of the src folder -> Create new package in the src folder -> New class in the package

2、导入module : File -> new -> Module from ....

Second, shortcut keys

1, ctrl + y delete a row

2, alt + enter guide packet

3、ctrl + alt + L

Third, the shortcut command

1, the main function

main

2, the print command

salt

3, for circulation

num.fori

Guess you like

Origin www.cnblogs.com/wt7018/p/12164089.html