IntelliJ Idea common list of shortcuts (Windows) ultra-practical

A commonly used shortcuts

Ctrl + F12 eject the current file structure layer (Method class attributes, etc.), can be entered directly in the pop-layer filter
Ctrl + left click on the file title to open, and ejecting the document path
Ctrl + N based on the input class names to find the class file
Ctrl + D copy cursor line or copied selected content, and copy the contents of the insertion cursor position below
Ctrl + P method parameters prompt display
Ctrl + Alt + O optimized class introduced, can the current file and the entire package directory use
Alt + Insert automatic generation of code, such as generating an object set / get the method, constructor, toString () like
Shift + F6 file / folder rename
Ctrl + Shift + Enter automatically end code, the end of the line automatically semicolon
Ctrl + B looking variable source method, or the like is used where
Ctrl + Alt + B used in the method name to call a specific implementation of jumps at the interface can be skipped
variable Q cursor Ctrl + / class the above name / method name, etc. (can also be prompted to add time press) to display the content of the document
Ctrl + Alt + T to select the code of the pop-pop-layer wrapping options (try if statements package)
Ctrl + Alt + L formatting codes, may be used for the current file and the entire package directory
Ctrl + Alt + Left arrow key to return to the place of operation
Ctrl + Alt + right arrow key to advance to the operation of a local
Ctrl + Shift + J will automatically merge the next line to the end of the current line
Alt + F8 in Debug state, the selected objects, pop can enter the calculation expression debugging box to see the contents of the input debugging results
, double click Search Everywhere Shift pop-pop-layer

Alt + F7 Find method the cursor / variable / class place was called
Ctrl + Alt + F7 to display local use. This class is looking for a place or variable is called, to find out the way with a pop-up box

Ctrl + F to find text in the current file

Ctrl + Shift + F to find the entire project within the specified directory or file based on the input

Ctrl + R replace the current text file

Ctrl + Shift + R replace the corresponding content based on the input, the entire range of items within the specified directory or file

Ctrl + H to display the current class hierarchy of
Ctrl + Alt + H Call Hierarchy
Ctrl + Shift + H display method hierarchy

Ctrl + W progressive selection code block. Optional word or paragraph cursor, continuous pressing will further extend the range selected on the basis of the original selected

Ctrl + Shift + W progressive deselected block. Optional word or paragraphs at the cursor, and then continuously press will expand on the basis of the original selected range unchecked

Ctrl + [to move the cursor to the current brace start location code
Ctrl +] to move the cursor to the current brace end location code
Ctrl + Shift + [selected from the cursor position to its top bracket position
Ctrl + Shift +] selected from the cursor location in parentheses position to its bottom

Ctrl + O selection method rewritable
Ctrl + I of the selection method may be implemented
Ctrl + Y cursor to delete rows or deleting selected
Ctrl + X cut or shear the cursor line selection
Ctrl + G jump in the current file to the specified row
above Ctrl + variable Q cursor / class name / method name, etc. (you can also be prompted to add time press) to display the content of the document
Ctrl + U to get the father of the current cursor method / interface definition
skip to end of file Ctrl + End
Ctrl + Home to jump to the file header

Alt + `show version control menu pops up common operations layer
Alt + Enter according to the cursor problems and provide a quick fix different options, position the cursor on the tips of the results of different

Shift + ESC to hide the current or last activation tool window
Shift + End to select the cursor position to the end of the current line
Shift + Home to select the cursor to the first line of the current position
Shift + Enter to start a new line. Under the cursor line blank line, position the cursor to a new line
Shift + left-click on the shortcut keys Press to open the file name, you can close the currently open file

Ctrl + Alt + I line where the cursor or selected portions of the code automatically indent, somewhat similar format
Ctrl + Alt + Space class name completion

Ctrl + Shift + N locate the file name / open file / directory, open the directory need to add an extra forward slash after the content of the input of
Ctrl + Shift + U to the selected code / lower case conversion turns
Ctrl + Shift + / block comments
Ctrl + Shift + Backspace to return to the place last modified
Ctrl + Shift + F12 to maximize the editor
Ctrl + Shift + left-click with the cursor on on a class variable, press the shortcut keys can be located directly to the class

Two, Ctrl

Ctrl + F to find text (necessary) in the current file
Ctrl + R replace text in the current file (necessary)
Ctrl + the Z-Undo (necessary)
Ctrl + the Y-cursor to delete rows or delete the selected row (essential)
ctrl + X cut or shear the cursor line selection
ctrl + C copy or copy cursor line selection
ctrl + D cursor line copy or copy selection, and copy the contents of the inserted below the cursor position (mandatory)
ctrl + W progressive selected code blocks. Alternatively words or paragraphs cursor, select the continuous press will further expand the range (necessary) on the basis of the selected original
Ctrl + E recently opened files displayed recording list
Ctrl + N based on the class to find the class file name input
Ctrl + G jump to a specified file in the current row of the
Ctrl + J inserting custom dynamic code templates
Ctrl + P parameter prompts the display method of
the above Ctrl + cursor variable Q / class name / method name, etc. (may be supplemented by the prompt time) display the contents of the document
Ctrl + U to get the cursor where the parent class / interface definition
Ctrl + interfaces or methods defined at the cursor into the B / variables, equivalent to Ctrl + left click
Ctrl + K version control submission, has added to the need to project versioning available
Ctrl + T updates version control, there is added to the need to project versioning available
Ctrl + H show the current class hierarchy
Ctrl + O selection rewritable method
Ctrl + I inheritable selection method
Ctrl + + unwind code
Ctrl + - Code folding
Ctrl + / comment cursor line, according to the current use of different file types different comment symbols (mandatory)
ctrl + [to move the cursor is currently located braces starting position code
Ctrl +] to move the cursor to the current code resides braces end position
Ctrl + F1 to display an error message in the error code at the cursor
Ctrl + F3 tune to the next one of the selected word reference position
Ctrl + F4 Close the current editor file
Ctrl + F8 in Debug mode, set the cursor behavior current breakpoint, if the current is already a breakpoint is to remove the breakpoint
Ctrl + F9 to perform operations Make Project
Ctrl + F11 select the file / folder, use mnemonic set set / cancel bookmark
Ctrl + F12 eject the current file structure layer, the pop-up layer input directly screened
Ctrl + Tab editing window switch, if also added during the handover by the delete, is closed corresponding to the selected window
Ctrl + Enter intelligent separate line
Ctrl + End to jump to the end of file
Ctrl + Home to jump to the file header
Ctrl + Space code completion basis The default input method is occupied on a Windows system, you need to modify the proposed changes as ALT + / (necessary)
Ctrl + Delete to delete the word behind the cursor or Chinese sentence
Ctrl + BackSpace delete the cursor in front of the Chinese word or sentence
Ctrl + 1,2,3 ... 9 positioned to correspond to the value of the bookmark
Ctrl + left-click on the file title to open the pop-up that file path
Ctrl + Do not release the cursor by pressing Ctrl, the cursor will be displayed Abstract class information
Ctrl + left arrow cursor jumps to the current word / sentence beginning Chinese left position of
Ctrl + right arrow keys cursor jumps to the current word / sentence beginning right position Chinese
Ctrl + forward direction key is equivalent to the mouse effect wheel forward
rear direction keys Ctrl + mouse wheel backward effect equivalent to

Three, Alt

Alt + `display version control common operations pop-up menu layer
Alt + Q A prompt is displayed to specify the current class / context information
Alt + F1 displays the current file selection target the popup, the popup there are many targets may be selected
Alt + F2 for front page, showing all kinds of browser to open pop-up target selection layer
Alt + F3 to select text, one by one down to find the same text, and highlight
local Alt + F7 to find the cursor method / variable / class is called
Alt + F8 in debug state, the selected objects, pop can enter the calculation expression debugging box to see the results of typing debug
Alt + Home positioning / display to the current file Bar Navigation
Alt + the enter IntelliJ IDEA according cursor problems and provide quick fixes choice the results of the cursor in different positions are different tips (mandatory)
the Alt + the Insert automatic generation of code, such as generating an object set / get the method, constructor, toString () and the like (necessary)
the Alt + left left Arrow direction switching view currently open file
Alt + right arrow key and right direction switching currently opened text Element view
Alt + direction key before the cursor jumps to the previous method name of the current file position
after Alt + cursor direction keys to jump to the current file position after a method name
Alt + 1,2,3 ... 9 Show the corresponding value of the tab, where 1 is the most used Project

Four, Shift

Shift + F1 if there is an external document can be connected to an external document
Shift + F2 Jump to highlight errors or warnings on a position
Shift + F3 in the search mode to find a match on
Shift + F4 on the currently open file, use the new Windows window open old window reserved
Shift + F6 to file / folder renaming
Shift + F7 in Debug mode, intelligent entered. There are a breakpoint on the line where multiple method calls, which method will pop into the
Shift + F8 in Debug mode, jump out, showing the effect is the same as with F9
Shift + F9 Debug button is equivalent to clicking the toolbar
Shift + F10 equivalent on the Run button click on the toolbar
Shift + F11 pop bookmark display layer
Shift + Tab to un-indent
Shift + ESC to hide the current or last activation tool window
Shift + End to select the cursor to the current line position
Shift + Home to select the cursor to the current line head location
Shift + Enter to start a new line. Under the cursor line blank line, position the cursor to a new line
Shift + left-click on the shortcut keys Press to open the file name, you can close the currently open file
horizontal scrolling axis scroll wheel to scroll around the current file Shift +

Five, Ctrl + Alt

Ctrl + Alt + L formatting codes, may be used for the current file and the entire package directory
Ctrl + Alt + O optimization imported class, may be used for the current file and the entire package directory
Ctrl + Alt + I or a selected part of the line where the cursor is automatically code indentation, somewhat similar to the format
Ctrl + Alt + T to select the code of the pop-pop-layer wrapping options
Ctrl + Alt + J template selection window pops up, the selected code to the dynamic template
Ctrl + Alt + H call hierarchy
Ctrl + Alt + B for use on a method name calling will jump at the specific implementation, you can skip the interface
Ctrl + Alt + V rapid introduction of variable
Ctrl + Alt + Y synchronization, refresh
Ctrl + Alt + S to open the system settings IntelliJ IDEA
Ctrl + Alt + F7 to display local use. This class is looking for a place or variable is called, with a pop-up box to find out ways
Ctrl + Alt + F11 toggle full screen mode
Ctrl + Alt + Enter line where the cursor over a line, position the cursor to a new line
Ctrl + Alt + Home pop associated with the current file documents the popup
Ctrl + Alt + Space class name completion
Ctrl + Alt + left arrow key to return to a place on the operation of the (necessary)
Ctrl + Alt + right arrow key to move forward on a local operation (necessary)
Ctrl + Alt + direction key front in the search mode, skip to the last file lookup
After Ctrl + Alt + arrow keys in the search mode, skip to the next file lookup

六、Ctrl + Shift

Ctrl + Shift + F find the project or specify the catalog file based on the input 
Ctrl + Shift + R replace the corresponding content based on the input, range throughout the project or the specified directory file
Ctrl + Shift + J automatically merge the next line into the current line end
Ctrl + Shift + Z cancel undo 
Ctrl + Shift + W progressive deselected block. Optional word or paragraphs at the cursor, press the continuous expansion of the original will be re-selected on the basis uncheck range (necessary)
Ctrl + N by the Shift + filename locate / open the file / directory, open the directory contents of the input required in the back of one more forward slash 
Ctrl + Shift + U for the selected code / lower case conversion rotation 
Ctrl + Shift + T based on the current generation unit test classes, if existing unit test classes may be selected
Ctrl + Shift + C copy current disk file path to the clipboard
Ctrl + Shift + V pop cached copy of the most recent content Manager pop-layer
Ctrl + Shift + E to display the popup list of recently modified files
Ctrl + Shift + H display method hierarchy
Ctrl + Shift + B jump to the type declaration of the
Ctrl + Shift + I defined Quick View cursor method or the like
Ctrl + Shift + a seek operation / setting
Ctrl + Shift + / comment block (mandatory)
Ctrl + the Shift + [selected from cursor position to its top position in brackets
Ctrl + Shift +] selected from the cursor position to its bottom position in parentheses
Ctrl + Shift + + expand all code
Ctrl + Shift + - folding all the code
Ctrl + Shift + F7 all of the selected text is highlighted, press Esc to highlight disappear
Ctrl + Shift + F8 in Debug mode, the entry conditions specified breakpoint
Ctrl + Shift + F9 to compile the selected file / package / Module
Ctrl + Shift + F12 editor maximize
Ctrl + Shift + Space intelligent code hinting
Ctrl + Shift + Enter the code automatically end, end of the line automatically add a semicolon 
Ctrl + Shift + Backspace to return to the place last modified
Ctrl + Shift + 1,2,3 ... 9 quickly add bookmarks specified number
Ctrl + Shift + left-click to the cursor on a class variable, press the shortcut keys can be located directly to the class 
Ctrl + Shift + left arrow key in the code file, the cursor jumps to the current word / Chinese sentence begins with the left position, and select the English / Chinese sentence
Ctrl + Shift + right arrow key on the code file, the cursor jumps to the current word / sentence beginning Chinese position on the right side, while the selected word / Chinese sentence
Ctrl + Shift + left The cursor key focus is on the Tools tab, reduce the tab area
Ctrl + Shift + Right arrow keys to cursor focus is on the Tools tab, expand the tab region
Ctrl + Shift + arrow key before the cursor over the name of the method, the method moves on to a method of the foregoing method of adjusting the sort
Ctrl + Shift + arrow key after a cursor on the name of the method, the method will move to the front of the next method, adjustment Sort method

Guess you like

Origin www.cnblogs.com/ybsjdwxx/p/11162827.html