IDEA shortcut key, idea shortcut key

Source: Internet
Author: User

IDEA shortcut key, idea shortcut key

1. Ctrl

Shortcut Key Introduction
Ctrl + F Search for text in the current file(Required)
Ctrl + R Replace text in the current file(Required)
Ctrl + Z Undo(Required)
Ctrl + Y Delete the row where the cursor is located or delete the selected row(Required)
Ctrl + X Cut the row where the cursor is located or cut the selected content
Ctrl + C Copy the row where the cursor is located or copy the selected content
Ctrl + D Copy the row where the cursor is located or copy the selected content, and insert the copied content below the cursor position(Required)
Ctrl + W Progressive selection of code blocks. The word or paragraph where the cursor is located. The selected range is expanded based on the selected words or paragraphs.(Required)
Ctrl + E Display the list of recently opened file records(Required)
Ctrl + N Search for class files based on the input class name(Required)
Ctrl + G Jump to the specified row from the current file
Ctrl + J Insert a custom dynamic code template(Required)
Ctrl + P Method parameter prompt display(Required)
Ctrl + Q The variable/class name/method name where the cursor is located (you can also press it when prompted) to display the document content
Ctrl + U Define the method/interface of the parent class of the method where the current cursor is located(Required)
Ctrl + B Entering the interface or definition of the method/variable where the cursor is located is equivalentCtrl + Left click (Required)
Ctrl + K To submit a project for version control, you must add this project to version control.
Ctrl + T To update a version control project, you must add this project to version control.
Ctrl + H Displays the hierarchy of the current class
Ctrl + O Select override Methods
Ctrl + I Select an inherited method
Ctrl ++ Expand code
Ctrl +- Collapse code
Ctrl +/ The line code where the cursor is located. Different annotations are used according to different file types.(Required)
Ctrl + [ Move the cursor to the starting position of the curly braces in the current Code
Ctrl +] Move the cursor to the end position of the curly braces in the current Code
Ctrl + F1 Display the error message at the error code where the cursor is located(Required)
Ctrl + F3 Transfers to the next reference location of the selected word(Required)
Ctrl + F4 Close the current edited File
Ctrl + F8 In Debug mode, set the current behavior breakpoint of the cursor. If the current behavior is already a breakpoint, remove the breakpoint.
Ctrl + F9 Execute the Make Project operation
Ctrl + F11 Select a file/folder and use a notebook to set/remove bookmarks(Required)
Ctrl + F12 The current file structure layer is displayed. You can directly input and filter on the pop-up layer.
Ctrl + Tab Edit window switch. if you add the delete button during the switch, the selected window is closed.
Ctrl + End Jump to the end of the file
Ctrl + Home Jump to File Header
Ctrl + Space The basic code is supplemented. It is occupied by the input method on Windows by default and needs to be modified. We recommend that you change itCtrl + comma (Required)
Ctrl + Delete Delete words or Chinese sentences behind the cursor(Required)
Ctrl + BackSpace Delete the word or Chinese sentence before the cursor(Required)
Ctrl + 1, 2, 3... 9 Locate the corresponding value's bookmarks(Required)
Ctrl + Left click On the title of the opened file, the file path is displayed.(Required)
Ctrl + cursor Positioning Press Ctrl to display the class information Summary of the cursor.
Ctrl + left arrow key Jump cursor to the start position on the left of the current word/Chinese Sentence(Required)
Ctrl + right arrow key Jump cursor to the beginning of the current word/Chinese Sentence(Required)
Ctrl + forward arrow key It is equivalent to the forward effect of the scroll wheel.(Required)
Ctrl + backward arrow key It is equivalent to the backward effect of the scroll wheel.(Required)

2. Alt

Shortcut Key Introduction
Alt +' Display the pop-up layer of Common Operations menu of Version Control(Required)
Alt + Q A prompt is displayed, showing the Declaration/context information of the current class.
Alt + F1 Displays the target pop-up layer for the current file selection. Many targets can be selected in the pop-up layer.(Required)
Alt + F2 For the previous page, various browsers are displayed to open the target selection pop-up layer.
Alt + F3 Select text, search for the same text one by one, and highlight it
Alt + F7 Locate the method/variable/class where the cursor is located.
Alt + F8 In the Debug status, select an object and enter the computing expression debugging box to view the debugging results of the input content.
Alt + Home Locate/display to the current fileNavigation Bar
Alt + Enter IntelliJ IDEA provides quick resolution options based on the cursor's problem. The results of different prompts vary depending on the cursor's position.(Required)
Alt + Insert The code is automatically generated, such as the set/get method, constructor, and toString () of the generated object.(Required)
Alt + left arrow key Switch the subview in the currently opened window. For example, the Debug window contains a subview such as Output and Debugger. You can use this shortcut to switch to the subview.(Required)
Alt + right arrow key Switch the subview in the window that is currently opened. For example, if the Debug window contains a subview such as Output and Debugger, you can use this shortcut to switch to the subview.(Required)
Alt + forward arrow key The current cursor jumps to the position of the previous method name of the current file.(Required)
Alt + backward arrow key The current cursor jumps to the next method name position of the current file(Required)
Alt + 1, 2, 3... 9 Displays the tabs for the corresponding values. 1 is the most commonly used Project.(Required)

3. Shift

Shortcut Key Introduction
Shift + F1 External documents can be connected if any
Shift + F2 Jump to the previous highlighted error or warning position
Shift + F3 In the search mode, the search matches the previous one.
Shift + F4 Use the new Windows window to open the currently opened files. The old window is retained.
Shift + F6 Rename a file/folder
Shift + F7 In Debug mode, smart access is achieved. There are multiple method calls on the row where the breakpoint is located. The method to be called is displayed.
Shift + F8 In Debug mode, the pop-up results are as follows:F9Same
Shift + F9 Equivalent to clicking the toolbarDebugButton
Shift + F10 Equivalent to clicking the toolbarRunButton
Shift + F11 The bookmarks display layer is displayed.(Required)
Shift + Tab Unindent(Required)
Shift + ESC Hide the current or last activated tool window
Shift + End Select the cursor to the end of the current row
Shift + Home Select the cursor to the current line header position
Shift + Enter Start a new row. The cursor is located at the bottom of the row, and the cursor is positioned at the position of the new row.(Required)
Shift + Left click Click this shortcut on the opened file name to close the current opened file(Required)
Shift + scroll wheel Horizontal scroll of the current file(Required)

4. Ctrl + Alt

Shortcut Key Introduction
Ctrl + Alt + L Format the code, which can be used for the current file and the entire package directory.(Required)
Ctrl + Alt + O Optimized the imported class and can be used for the current file and the entire package directory.(Required)
Ctrl + Alt + I Automatically indent the line or selected part of the cursor, which is similar to formatting.
Ctrl + Alt + T Pop-up dialog box for the selected code(Required)
Ctrl + Alt + J The template selection window is displayed, and the selected code is added to the dynamic template.
Ctrl + Alt + H Call level
Ctrl + Alt + B When you use a method name for a call, it will jump to the specific implementation. you can skip the interface.
Ctrl + Alt + V Quick introduction of Variables
Ctrl + Alt + Y Synchronization and refresh
Ctrl + Alt + S Enable IntelliJ IDEA system settings(Required)
Ctrl + Alt + F7 Display the used place. Find the place where the class or variable is called and use the pop-up box to find it.
Ctrl + Alt + F11 Switch to full screen mode
Ctrl + Alt + Enter The cursor is located on the row with a blank line, and the cursor is positioned on the new line.(Required)
Ctrl + Alt + Home Pop up the file pop-up layer associated with the current file
Ctrl + Alt + Space Automatic completion of Class Name
Ctrl + Alt + left arrow key Return to the previous operation(Required)
Ctrl + Alt + right arrow key Move forward to the previous operation(Required)
Ctrl + Alt + forward arrow key In search mode, jump to the last file to be searched.
Ctrl + Alt + back direction key In search mode, jump to the file to be searched

5. Ctrl + Shift

Shortcut Key Introduction
Ctrl + Shift + F Search for files in the entire project or specified directory based on the input content(Required)
Ctrl + Shift + R Replace the corresponding content according to the input content. The range is the entire project or files in the specified directory.(Required)
Ctrl + Shift + J Automatically merge the next row to the end of the current row(Required)
Ctrl + Shift + Z Cancel(Required)
Ctrl + Shift + W The progressive unselect code block. The word or paragraph in which the cursor is located. The unselected range is expanded based on the selected words or paragraphs.(Required)
Ctrl + Shift + N Locate/open a file/directory by file name. To open a directory, add a forward slash to the input content.(Required)
Ctrl + Shift + U Converts the selected code in turn in uppercase or lowercase.(Required)
Ctrl + Shift + T Generate a unit test class for the current class. If an existing unit test class exists, select(Required)
Ctrl + Shift + C Copy the current file disk path to the clipboard(Required)
Ctrl + Shift + V Pop-up cache recently copied Content Manager pop-up layer
Ctrl + Shift + E Display the pop-up layer of the recently modified file list
Ctrl + Shift + H Display Method hierarchy
Ctrl + Shift + B Jump to type declaration(Required)
Ctrl + Shift + I Quickly view the method or class definition of the cursor
Ctrl + Shift + Search action/settings
Ctrl + Shift +/ Code block comment(Required)
Ctrl + Shift + [ Select from the position of the cursor to its Top Bracket Position(Required)
Ctrl + Shift +] Select the position from the cursor location to its bottom brackets(Required)
Ctrl + Shift ++ Show all codes(Required)
Ctrl + Shift +- Collapse all codes(Required)
Ctrl + Shift + F7 Highlight all selected text, and Press Esc to highlight and disappear(Required)
Ctrl + Shift + F8 In Debug mode, specify the breakpoint entry condition
Ctrl + Shift + F9 Compile the selected file/package/Module
Ctrl + Shift + F12 Editor Maximization(Required)
Ctrl + Shift + Space Smart code prompt
Ctrl + Shift + Enter Automatically end the code and add a semicolon at the end of the line(Required)
Ctrl + Shift + Backspace Return to the last modification(Required)
Ctrl + Shift + 1, 2, 3... 9 Quickly add bookmarks with specified values(Required)
Ctrl + Shift + Left click Place the cursor on a class variable. Press this shortcut key to directly locate the class.(Required)
Ctrl + Shift + left arrow key In the code file, the cursor jumps to the start position on the left of the current word/Chinese sentence, and selects the word/Chinese Sentence(Required)
Ctrl + Shift + right arrow key In the code file, the cursor jumps to the start position on the right of the current word/Chinese sentence, and selects the word/Chinese Sentence(Required)
Ctrl + Shift + forward arrow key Place the cursor on the method name, move the method to the front of the previous method, and adjust the method sorting.(Required)
Ctrl + Shift + rear direction key Place the cursor over the method name, move the method to the front of the next method, and adjust the method sorting.(Required)

6. Alt + Shift

Shortcut Key Introduction
Alt + Shift + N Select/Add task(Required)
Alt + Shift + F Show add to favorites pop-up layer/Add to favorites
Alt + Shift + C View the changes of the latest operation items
Alt + Shift + I View the current project file
Alt + Shift + F7 In Debug mode, the next step is to enter the current method body. If there are methods in the method body, the embedded method will be entered.
Alt + Shift + F9 Pop-upDebugOptional menu
Alt + Shift + F10 Pop-upRunOptional menu
Alt + Shift + left-click Select the double-click word/Chinese sentence, and press and hold it down. You can select other words/Chinese sentences at the same time.(Required)
Alt + Shift + forward arrow key Move the cursor row up(Required)
Alt + Shift + back direction key Move the row of the cursor downward(Required)

7. Ctrl + Shift + Alt

Shortcut Key Introduction
Ctrl + Shift + Alt + V Unformatted Paste(Required)
Ctrl + Shift + Alt + N Go to the specified variable/Method
Ctrl + Shift + Alt + S Open Current Project Settings(Required)
Ctrl + Shift + Alt + C Copy reference information

8. Others

Shortcut Key Introduction
F2 Jump to the next highlighted error or warning location(Required)
F3 In search mode, locate the next match
F4 Edit Source(Required)
F7 In Debug mode, go to the next step. If the current line breakpoint is a method, it will enter the current method body. If the method body has a method, it will not enter the embedded method.
F8 In Debug mode, go to the next step. If the current line breakpoint is a method, do not enter the current method body.
F9 In Debug mode, resume the program to run, but if the code below the breakpoint has a breakpoint, it stops at the next breakpoint.
F11 Add bookmarks(Required)
F12 Return to the previous tool window(Required)
Tab Indent(Required)
ESC Enter the code file window from the tool window(Required)
Shift twice Pop-upSearch EverywherePop-up layer

Related Article

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.