IntelliJ Idea Common Shortcuts List

IntelliJ Idea Common Shortcuts List

Ctrl+Shift+Enter, statement completion
"!", negation completion, press "!" key
Ctrl+E when entering expressions, recent files
Ctrl+Shift+E, recently changed files
Shift+Click, you can close files
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, 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, you can introduce variables. For example: new String(); Automatically import the variable definition
Ctrl+Alt+T, you can wrap the code in a block, for example: try/catch
Ctrl+Enter, import the package, automatically correct
Ctrl+Alt+L, format the 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, autocomplete code
Ctrl+Space, code hints (conflicts with system input method shortcut keys)
Ctrl+Shift+Alt+N, find methods or variables in a class
Alt+Shift+C, recent changes
Alt+Shift+Up/Down, move up/down Line
Shift+F6, Refactoring – 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 comment 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, move quickly between methods
Ctrl+Shift+Up/Down, move up/down statement
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 highlight and disappear
Alt+F3, search down one by one The same text, and highlight
Ctrl+Up/Down, go to the first or last line under the cursor
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, override the method
Ctrl+Alt+Space, the class name is automatically completed
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 the most recently used clipboard content and insert it into text
Ctrl+Alt+Shift+V, simple paste
Shift+Esc, not only can move 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 editor cursor The class or method used at the character Ctrl+W in the browser of the Java document
, you can select a word followed by a statement followed by a line followed by a function
Ctrl+Shift+W, deselect the word where the cursor is located
Alt+F7, find a certain class used in the whole project, The position of the method or variable is
Ctrl+I, the implementation method is
Ctrl+Shift+U, the case conversion is
Ctrl+Y, and the current line is deleted.


Shift+Enter, insert new line down
psvm/sout, main/System.out.println(); Ctrl+J, see more
Ctrl+Shift+F, find global
Ctrl+F, find /Shift+F3, find up /F3, find down
Ctrl+Shift+S, advanced search
Ctrl+U, go to parent class
Ctrl+Alt+S, open settings dialog
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, press the word to delete
Ctrl+"+/-", the current method expands, collapses
Ctrl +Shift+”+/-”, expand and collapse all
[Debug section, 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 of
Alt+Shift+F8, force step over
Alt+Shift+F7, forced to enter
Alt+F9, run to the cursor
Ctrl+Alt+F9, forced to 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, favorite
Alt+6, TODO
Alt+7, structure
Ctrl+Shift+C, copy path
Ctrl+Alt+Shift+C, copy reference, must select class name
Ctrl+Alt +Y, Sync
Ctrl+~, quick switch scheme (menus of interface appearance, code style, shortcut key mapping, 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
[Refactor]
Ctrl+Alt+Shift+T, pop up the refactoring 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
Ctrl+Shift+R in Path, Replace
Ctrl+Shift+S in Path, 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

 

Reprinted from: http://www.open-open.com/lib/view/open1396578860887.html

Guess you like

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