The most comprehensive shortcut keys for idea tools

Ctrl+Shift + Enter, statement completion
"!", negative completion, press the "!" key
Ctrl+E when entering an expression, recent files
Ctrl+Shift+E, recently changed files
Shift+Click, you can close the file
Ctrl+[ OR ], you can go to the beginning and end of the curly brackets
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 you can select
Ctrl+N, you can quickly open the class
Ctrl+Shift+N, you can quickly open the file

Alt+Q, you can see the declaration of the current method,
Ctrl+P, you can display parameter information,
Ctrl+Shift+Insert, you can select the clipboard content and insert
Alt+Insert, you can generate a constructor /Getter/Setter, etc.
Ctrl+Alt+V can introduce variables. For example: new String(); Automatically import variable definition
Ctrl+Alt+T, you can package the code in a block, for example: try/catch
Ctrl+Enter, import package, automatically correct
Ctrl+Alt+L, format code

Ctrl +Alt+I, automatically indent the selected code. This function can also work when editing JSP files.
Ctrl+Alt+O, optimize imported classes and packages
Ctrl+R, replace text
Ctrl+F, find text
Ctrl +Shift+Space, automatically complete code
Ctrl+space, code prompt (conflicts with system input method shortcut keys)
Ctrl+Shift+Alt+N, find methods or variables in the class
Alt+Shift+C, recent changes
Alt+Shift+Up/Down, move up/down One line
Shift+F6, refactor – rename
Ctrl+X, delete line
Ctrl+D, copy line

Ctrl+/ or Ctrl+Shift+/, comment (// or /**/)
Ctrl+J, autocode (eg: serr )
Ctrl+Alt+J, surround Ctrl+H with dynamic templates
, display the class structure diagram (class inheritance hierarchy)
Ctrl+Q, display the annotation document
Alt+F1, find the location of the code
Alt+1, quickly open or hide the project panel
Ctrl+Alt+left/right, return to the last browsed position
Alt+left/right, switch code view
Alt+Up/Down, quickly move between methods
Ctrl+Shift+Up/Down, move statements up/down
F2 or Shift+F2, highlight errors or warnings to quickly locate
Tab. After entering the code label, press Tab to generate the code.
Ctrl+Shift+F7, highlight all the text, press Esc to disappear the highlight.
Alt+F3, search down one by one. The same text, and highlight
Ctrl+Up/Down, the cursor goes to the first or last line
Ctrl+B/Ctrl+Click, quickly open the class or method at the cursor (jump to the definition)
Ctrl+Alt+B, jump to the method implementation
Ctrl+Shift+Backspace, jump to the last edited place
Ctrl +O, rewrite method
Ctrl+Alt+Space, automatically complete class name
Ctrl+Alt+Up/Down, quickly jump to search results
Ctrl+Shift+J, integrate two lines
Alt+F8, calculate variable value
Ctrl+Shift+V , you can select and insert the recently used clipboard content into the text
Ctrl+Alt+Shift+V, simply paste
Shift+Esc, not only can you move the focus to the editor, but you can also hide the current (or last active) tool window
F12, move the focus from the editor to the recently used tool window
Shift+F1, to open the browser
Ctrl+W of the Java document of the class or method used at the editor cursor character, you can select the word, then the statement, then the line, then the function
Ctrl+ Shift+W, deselect the word under the cursor
Alt+F7, find the location of a class, method or variable used in the entire project
Ctrl+I, implement the method
Ctrl+Shift+U, convert case to case
Ctrl+Y, delete the current line


Shift+Enter, insert new line
psvm/sout, main/System.out.println(); Ctrl+J, see more
Ctrl+Shift+F, search globally
Ctrl+F, search/Shift+F3, search up /F3, search down
Ctrl+Shift+S, advanced search
Ctrl+U, go to the parent class
Ctrl+Alt+S, open the settings dialog box
Alt+Shift+Inert, turn on/off column selection mode
Ctrl+Alt+Shift+ S, open the current project/module properties
Ctrl+G, locate the
line Alt+Home, jump to the navigation bar
Ctrl+Enter, insert a line
Ctrl+Backspace, delete by word
Ctrl+”+/-”, expand and collapse the current method
Ctrl +Shift+”+/-”, expand and collapse all
[debug part, compile]
Ctrl+F2, stop
Alt+Shift+F9, select Debug
Alt+Shift+F10, select Run
Ctrl+Shift+F9, compile
Ctrl+Shift+ F10, run
Ctrl+Shift+F8, view breakpoint
F8, step over
F7, step into
Shift+F7, intelligently step into
Shift+F8, step out
Alt+Shift+F8, force step through
Alt+Shift+F7, force to enter
Alt+F9, run to the cursor
Ctrl+Alt+F9, force run to the cursor
F9, restore the program
Alt+F10, locate the breakpoint
Ctrl+F8, switch line breakpoint
Ctrl+ F9, generate project
Alt+1, project
Alt+2, collection
Alt+6, TODO
Alt+7, structure
Ctrl+Shift+C, copy path
Ctrl+Alt+Shift+C, copy reference, class name must be selected
Ctrl+Alt +Y, synchronize
Ctrl+~, quickly switch solutions (menus such as interface appearance, code style, shortcut key mapping, etc.)
Shift+F12, restore the 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
[Reconstruction]
Ctrl+Alt+Shift+T, pop up the reconstruction menu
Shift+F6, Rename
F6, move
F5, copy
Alt+Delete, safe delete
Ctrl+Alt+N, inline
[Find]
Ctrl+F, find
Ctrl+R, Replace
F3, Find Next
Shift+F3, Find Previous
Ctrl+Shift+F, Find in Path
Ctrl+Shift+R, Replace in Path
Ctrl+Shift+S, Search Structure
Ctrl+Shift+M , Replace structure
Alt+F7, Find usage
Ctrl+Alt+F7, Show usage
Ctrl+F7, Find usage in file
Ctrl+Shift+F7, Highlight usage in file

Guess you like

Origin blog.csdn.net/dhklsl/article/details/117787562