IntelliJ idea frequently used shortcut keys list

Source: Internet
Author: User
Tags code tag

IntelliJ idea frequently used shortcut keys list

Ctrl+shift + Enter, statement completion
“! ", negative completion, enter expression when you press"! "Key
Ctrl+e, recent files
Ctrl+shift+e, recently changed files
Shift+click, you can close the file
ctrl+[OR], you can run to the beginning and end of curly braces
CTRL+F12, the structure of the current file can be displayed
CTRL+F7, you can query the current element's reference in the current file, and then press F3 to select
CTRL + N, you can quickly open class
Ctrl+shift+n, you can quickly open files
Alt+q, you can see the declaration of the current method
Ctrl+p, can display parameter information
Ctrl+shift+insert, you can select the Clipboard contents and insert
Alt+insert, you can generate constructors/getter/setter, etc.
Ctrl+alt+v, you can introduce variables. For example: New String (); Automatic import of variable definitions
Ctrl+alt+t, the code can be wrapped within a block, for example: Try/catch
Ctrl+enter, import package, auto fix
Ctrl+alt+l, formatting code
Ctrl+alt+i, the selected code is automatically indented, which can also work when editing a JSP file
Ctrl+alt+o, optimizing imported classes and Packages
Ctrl+r, replacing text
Ctrl+f, finding text
Ctrl+shift+space, auto-complete code
CTRL + spaces, code hints (conflicts with system input accelerator keys)
Ctrl+shift+alt+n, finding a method or variable in a class
Alt+shift+c, Recent Changes
Alt+shift+up/down, move up/down one line
Shift+f6, refactoring – renaming
CTRL+X, deleting rows
Ctrl+d, copying rows
ctrl+/or ctrl+shift+/, comments (//or/**/)
Ctrl+j, Automatic code (ex: SERR)
Ctrl+alt+j, surround with dynamic templates
Ctrl+h, showing class structure diagram (class inheritance hierarchy)
Ctrl+q, displaying the comment document
ALT+F1, find the location of your code
Alt+1, quickly open or hide the engineering panel
Ctrl+alt+left/right, return to the last viewed location
Alt+left/right, Toggle Code View
Alt+up/down, quickly move the positioning between methods
Ctrl+shift+up/down, move statement up/down
F2 or SHIFT+F2, highlighting error or warning quick location
tab, after the code tag input is complete, press TAB to generate the code
CTRL+SHIFT+F7, highlight all the text, press ESC to highlight the disappear
ALT+F3, find the same text down one by one and highlight
Ctrl+up/down, the cursor moves to the first or last line
Ctrl+b/ctrl+click, quickly open the class or method at the cursor (jump to definition)
Ctrl+alt+b, jump to method implementation
Ctrl+shift+backspace, jump to the last edited place
Ctrl+o, overriding method
Ctrl+alt+space, class name auto-complete
Ctrl+alt+up/down, quick Jump search results
Ctrl+shift+j, integrate two lines
Alt+f8, calculating the value of a variable
Ctrl+shift+v, you can insert the most recently used Clipboard Content selection into the text
Ctrl+alt+shift+v, simple paste
Shift+esc, you can not only 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 character used by the class or method of the Java document browser
Ctrl+w, you can select a word followed by a statement followed by a function.
Ctrl+shift+w, deselect the word cursor
ALT+F7, find the location of a class, method, or variable used in the entire project
Ctrl+i, Implementation method
Ctrl+shift+u, Case conversion
Ctrl+y, delete when moving forward


Shift+enter, insert a new row down
Psvm/sout,main/system.out.println (); Ctrl+j, see more
CTRL+SHIFT+F, Global Lookup
Ctrl+f, find/shift+f3, find/f3 up, look down
Ctrl+shift+s, Advanced Search
Ctrl+u, go to parent class
Ctrl+alt+s, open the Settings dialog box
Alt+shift+inert, toggle column selection mode on/off
Ctrl+alt+shift+s, open current project/module properties
Ctrl+g, positioning line
Alt+home, jump to navigation bar
Ctrl+enter, plug in a line
Ctrl+backspace, delete by word
CTRL + "+ +", current method expansion, folding
ctrl+shift+ "+/-", expand All, fold
"Debug section, compile"
CTRL+F2, stop.
ALT+SHIFT+F9, select Debug
ALT+SHIFT+F10, select Run
CTRL+SHIFT+F9, compiling
CTRL+SHIFT+F10, run
Ctrl+shift+f8, viewing breakpoints
F8, Step Over
F7, Step Into
SHIFT+F7, smart Step Into
Shift+f8, step out
ALT+SHIFT+F8, force step Over
ALT+SHIFT+F7, force Step Into
ALT+F9, run to Cursor
CTRL+ALT+F9, force run to Cursor
F9, recovery program
ALT+F10, navigate to Breakpoint
Ctrl+f8, Toggle Line Breakpoint
CTRL+F9, building the project
Alt+1, Project
Alt+2, Collection
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+~, fast switching scheme (interface appearance, code style, shortcut key mapping menu)
SHIFT+F12, restoring the default layout
CTRL+SHIFT+F12, Hide/restore all windows
CTRL+F4, close
CTRL+SHIFT+F4, close the Events tab
Ctrl+tab, go to the next splitter
Ctrl+shift+tab, go to the previous splitter
"Refactoring"
Ctrl+alt+shift+t, pop-up refactoring menu
SHIFT+F6, renaming
F6, Mobile
F5, copy
Alt+delete, Safe removal
Ctrl+alt+n, inline
Find
Ctrl+f, finding
Ctrl+r, replacing
F3, find the next
SHIFT+F3, Find Previous
Ctrl+shift+f, finding in Path
Ctrl+shift+r, replacing in Path
Ctrl+shift+s, search structure
Ctrl+shift+m, replacing the structure
ALT+F7, finding usage
CTRL+ALT+F7, displaying usage
Ctrl+f7, finding usages in files
CTRL+SHIFT+F7, highlighting usage in files

IntelliJ idea Common shortcut key list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.