command+N import jar package
There is a for loop inside the method body, enter fori in IntellJ, and then there will be a prompt, just select the required for loop
System.out.println(); is the input sout in IntellJ
comamnd+, settings
command+shift+enter to jump to the next line
command+X delete a line
alt+f7 to find where to use the eclipse equivalent of ctrl+shift+ G command +alt+ f7 This is to find the place where the selected character appears in the project, it may not be a method variable class, etc. This is different from the above Command+F7 can query the reference of the current element in the current file, and then press F3 to select, the function is basically the same as above Select the text, press command + shift + F7, highlight all the text, press Esc to highlight disappear. Select the text, press Alt + F3, find the same text one by one, and highlight it. shift+ f3 is to look up ctrl + enter appears to generate the interface for get and set methods shift + enter to change to the next line command + N to find classes command +shift+ N find files command + R replace ctrl + shift + R can replace the variable command + D in the entire project or under a directory to copy a line ctrl +shift+ J joins multiple lines into one line, which will remove the line with spaces command + J can generate some automatic code, such as for loop command + B to find the source of the variable is the same as F4 to find the source of the variable ctrl + shift + B to find the class to which the variable belongs command + G positioning command +F Find text in the current file f3 to look down, shift+ f3 to look up ctrl +shift+F can find variables in the entire project or under a directory, which is equivalent to ctrl+ H in eclipse alt +shift+ C recently modified files command + E recently opened files alt + enter import package, automatically modify command +alt+ L format code command +alt+ I is automatically indented, it is more convenient not to use the tab or backspace key multiple times ctrl + shift + space code completion, this will determine what may be used, this code completion and code prompts are different command + P method parameter prompt command +alt+ T put selected code in TRY{} IF{} ELSE{} command + X cut delete line command +shift+ V can copy multiple texts command +shift+ U case conversion alt + f1 finds the directory location where the file is located command +/ comment one or more lines // ctrl+shift+/ comment /* ... */ command +alt+ left and right arrows return to the last edited position shift + f6 to rename command + shift + up and down arrows to move the code up or down command + [ or ] can jump to the beginning and end of curly braces command + f12 can display the structure of the current file command +alt+ B can navigate to the implementation code of an abstract method command + shift + * column editing of the keypadCheck value when alt + f8 debug f8 is equivalent to eclipse's f6 skip to the next step shift + f8 is equivalent to eclipse's f8 jumping to the next breakpoint, and is also equivalent to eclipse's f7 jumping out of the function f7 is equivalent to f5 of eclipse, which is to enter the code alt + shift + f7 this is the forced entry code ctrl + shift + f9 debug run java class ctrl + shift + f10 runs the java class normally command +f2 to stop running