Routine use of

Ctrl+Shift + Enter completes the “! Press “! “when entering the expression. Ctrl+E, the most recent file Ctrl+Shift+E, the most recently changed file Shift+Click, you can close the file Ctrl+[OR], you can run to the beginning and end of the braces Ctrl+F12, you can display the structure of the current file Ctrl+F7, You can query the reference of the current element in the current file, and then press F3 to select Ctrl+N, to quickly open the class Ctrl+Shift+N, to quickly open the file Alt+Q, to see the declaration of the current method, Ctrl+P, to display parameter information, Ctrl+Shift+Insert, You can select clipboard contents and Insert Alt+Insert, you can generate constructors/getters/setters, etc. Ctrl+Alt+V, you can import variables. For example: new String(); Automatic import variable definition Ctrl+Alt+T, can package code in a block, for example: Ctrl+Alt+L, format code Ctrl+Alt+I, automatically indent selected code, this function also works when editing JSP files Ctrl+Alt+O, Optimize imported classes and packages Ctrl+R, replace text Ctrl+F, find text Ctrl+Shift+Space, auto-complete code Ctrl+ Space, code prompt (conflict with system input method shortcut key) Ctrl+Shift+Alt+N, Find a method or variable in a class Alt+Shift+C, recent changes Alt+Shift+Up/Down, Shift Up/Down a line Shift+F6, Refactoring — rename Ctrl+X, delete line Ctrl+D, copy line Ctrl+/ or Ctrl+Shift+/, Comment (// or /**/) Ctrl+J, automatic code (e.g. : Serr) Ctrl+Alt+J, surround Ctrl+H with dynamic template, display class structure diagram (class inheritance hierarchy) Ctrl+Q, display comment document Alt+F1, find code location Alt+1, quickly open or hide engineering panel Ctrl+Alt+left/right, Alt+left/right, switch code view Alt+Up/Down, move quickly between methods to position Ctrl+Shift+Up/Down, move statement F2 or Shift+F2 Up/Down, highlight error or warning to position Tab quickly, After entering the code Tab, press Tab to generate code Ctrl+Shift+F7 to highlight all the text, press Esc to highlight disappear Alt+F3 to scroll Down to find the same text one by one, and highlight Ctrl+Up/Down. Ctrl+B/Ctrl+Click to quickly open the class or method at the cursor (go to the definition) Ctrl+Alt+B, go to the method implementation Ctrl+Shift+Backspace, go to the last edit Ctrl+O, Ctrl+Alt+Space, class name autocomplete Ctrl+Alt+Up/Down, quick jump to search results Ctrl+Shift+J, integrate two lines of Alt+F8, calculate variable values Ctrl+Shift+V, You can insert recently used clipboard selections into the text Ctrl+Alt+Shift+V and simply paste Shift+Esc to not only Shift the focus to the editor, but also hide the current (or last active) tool window F12. Move the focus from the editor to the most recently used tool window Shift+F1. To open the browser of the Java document using the class or method at the cursor character in the editor, Ctrl+W, select the word, statement, and line, then Ctrl+Shift+W, unselect the cursor word Alt+F7, Ctrl+I, Ctrl+Shift+U, Ctrl+Y, Shift+Enter, PSVM /sout main/System.out.println(); Ctrl+J, Ctrl+Shift+F, Global Find Ctrl+F, Find /Shift+F3, Up find /F3, Down find Ctrl+Shift+S, Advanced search Ctrl+U, go to the parent class Ctrl+Alt+S, Open the Settings dialog Alt+Shift+Inert, open/close the column selection mode Ctrl+Alt+Shift+S, open the current project/module properties Ctrl+G, position the row Alt+Home, jump to the navigation bar Ctrl+Enter, Insert a line of Ctrl+Backspace, press Ctrl+ “+/-” to delete the word, expand and fold Ctrl+Shift+ “+/-” to expand and fold

[Debugging part, compilation]

Ctrl+F2, stop Alt+Shift+F9, select Debug Alt+Shift+F10, Select Run Ctrl+Shift+F9, compile Ctrl+Shift+F10, Run Ctrl+Shift+F8, check the breakpoint F8, step F7, Step in Shift+F7, smart step in Shift+F8, step out Alt+Shift+F8, force step over Alt+Shift+F7, force step in Alt+F9, run to cursor Ctrl+Alt+F9, force run to cursor F9, restore program Alt+F10, Ctrl+F8, Ctrl+F9, Create item Alt+1, Item Alt+2, Bookmark Alt+6, TODO Alt+7, Structure Ctrl+Shift+C, Copy path Ctrl+Alt+Shift+C, copy reference, You must select The class name Ctrl+Alt+Y, synchronize Ctrl+~, quickly switch scheme (interface appearance, code style, shortcut key mapping menu, etc.) Shift+F12, restore default layout Ctrl+Shift+F12, hide/restore all Windows Ctrl+F4, Close Ctrl+Shift+F4, close the active Tab Ctrl+Tab, go to the next splitter Ctrl+Shift+Tab, go to the previous splitter

“Refactoring”

Ctrl+Alt+Shift+T brings up the Refactoring menu Shift+F6, rename F6, move F5, copy Alt+Delete, safely Delete Ctrl+Alt+N, inline

【 looking for 】

Ctrl+F, find Ctrl+R, replace F3, find the next Shift+F3, find the last Ctrl+Shift+F, find Ctrl+Shift+R in the path, replace Ctrl+Shift+S in the path, search structure Ctrl+Shift+M, After refactoring, you can also synchronize duplicate code to replace Alt+F7, find usage Ctrl+Alt+F7, display usage Ctrl+F7, find usage in the file Ctrl+Shift+F7, and highlight usage in the file