IntelliJ idea shortcut keys under Windows and under Mac

Source: Internet
Author: User

MAC Keyboard Symbol Description
  • ?==Command
  • ?==Shift
  • ?==Caps Lock
  • ?==Option
  • ?==Control
  • ?==Return/Enter
  • ?==Delete
  • ?==向前删除键(Fn+Delete)
  • ==上箭头
  • ==下箭头
  • ==左箭头
  • ==右箭头
  • ?==Page Up(Fn+↑)
  • ?==Page Down(Fn+↓)
  • Home==Fn + ←
  • End==Fn + →
  • ?==右制表符(Tab键)
  • ?==左制表符(Shift+Tab)
  • ?==Escape (Esc)
  • ?==电源开关键
Ctrl
Win shortcut key Mac shortcut Keys Introduction
Ctrl + F Command + F Text lookup in the current file
Ctrl + R Command + R To replace text in the current file
Ctrl + Z Command + Z Revoke
Ctrl + Y Command + Delete Delete the line of the cursor or delete the selected row
Ctrl + D Command + D Copy the row of the cursor or copy the selection and insert the copied content under the cursor position
Ctrl + W Option + on Arrow keys Progressive selection code block. You can select the word or paragraph where the cursor is located, and then expand the selection on the basis of the original selection.
Ctrl + E Command + E Displays a list of recently opened file records
Ctrl + N Command + O Find a class file based on the class name entered
Ctrl + J Command + J Inserting custom dynamic Code templates
Ctrl + P Command + P Method parameter hints Display
Ctrl + U Command + U Method/Interface definition to the parent class of the method where the current cursor is located
Ctrl + B Command + B Enter the interface or definition of the method/variable where the cursor is located, equivalent toCtrl + 左键单击
Ctrl +/ Command +/ Note The line code of the cursor, which uses different annotation symbols depending on the current file type
Ctrl + F1 Command + F1 Displays an error message at the error code where the cursor is located
Ctrl + F11 Option + F3 Select files/folders, use mnemonics to set/Cancel bookmarks
Ctrl + Space Control + Space Base code completion, by default on the Windows system by the input method, need to be modified, proposed to modify toCtrl + 逗号
Ctrl + Delete Option + Fn + Delete Delete the word after the cursor or the Chinese sentence
Ctrl + BackSpace Option + Delete Delete the word in front of the cursor or Chinese sentence
Ctrl + 1,2,3...9 Control + 1,2,3...9 Position the bookmark location to the corresponding value
Ctrl + Plus Command + Plus Unwind code
Ctrl + minus Sign Command + minus Sign Collapse Code
Ctrl + Left click Control + Left-click On the file header that opens, the file path pops up
CTRL + LEFT ARROW key Option + LEFT ARROW key Cursor jumps to the left-hand position of the current word/Chinese sentence
CTRL + RIGHT ARROW key Option + RIGHT ARROW key Cursor jumps to the right-hand position of the current word/Chinese sentence
CTRL + Front arrow keys The shortcut is not in the preset Equivalent to the mouse wheel forward effect
CTRL + REAR ARROW keys The shortcut is not in the preset Equivalent to the mouse wheel backward effect
Alt
Win shortcut key Mac shortcut Keys Introduction
Alt + ' Control + V Display version control common Actions menu pop-up layer
Alt + F1 Option + F1 Displays the current file selection target pop-up layer, there are many targets in the pop-up layer can be selected
Alt + F7 Option + F7 Query the selected object/variable is referenced
Alt + Enter Option + Enter IntelliJ idea provides a quick fix selection based on the cursor's problem, and the results of the different hints are different when the cursor is positioned.
Alt + Insert Command + N Code is generated automatically, such as the Set/get method of the generated object, constructor, ToString (), etc.
ALT + LEFT ARROW key Control + LEFT ARROW key Toggles the child view in the currently open window, such as the debug window with output, debugger, and other sub-views, which can be toggled in the child view with this shortcut key
ALT + RIGHT ARROW key Control + RIGHT ARROW key Toggles the child view in the currently open window, such as the debug window with output, debugger, and other sub-views, which can be toggled in the child view with this shortcut key
ALT + Front arrow key Control + Front arrow key The current cursor jumps to the previous method name location of the current file
ALT + Rear arrow key Control + rear arrow keys The current cursor jumps to the last method name location of the current file
Alt + 1,2,3...9 Command + 1,2,3...9 Displays the corresponding value of the tab, where 1 is the most used by Project
Shift
Win shortcut key Mac shortcut Keys Introduction
Shift + F11 Command + F3 Popup Bookmark Display Layer
Shift + Tab Shift + Tab Cancel Indent
Shift + Enter Shift + Enter Start a new line. One row below the cursor line, the cursor is positioned to the new line position
Shift + Left-click Shift + Left-click You can close the currently open file by pressing this shortcut key on the open filename
Ctrl + Alt
Win shortcut key Mac shortcut Keys Introduction
Ctrl + Alt + L Command + Option + L Format code that can be used for the current file and the entire package directory
Ctrl + Alt + O Control + Option + O Optimized imported classes that can be used for the current file and the entire package directory
Ctrl + Alt + T Command + Option + T Popup Wrapping Options Pop-up layer for selected code
Ctrl + Alt + S Command + comma Open IntelliJ Idea System settings
Ctrl + Alt + Enter Command + Option + Enter A row above the line where the cursor is positioned to the new row
Ctrl + ALT + LEFT ARROW key Command + Option + LEFT ARROW key Go back to the place where the last action was
Ctrl + ALT + RIGHT ARROW key Command + Option + RIGHT ARROW key Go forward to the last action place
Ctrl + Shift
Win shortcut key Mac shortcut Keys Introduction
Ctrl + Shift + F Command + Shift + F Find an entire project or a file within a specified directory based on what you enter
Ctrl + Shift + R Command + Shift + F Replace the content with the input, the entire project or the file in the specified directory
Ctrl + Shift + J Control + Shift + J Automatically merges the next line to the end of the current line
Ctrl + Shift + Z Command + Shift + Z Cancel Revocation
Ctrl + Shift + W Option + arrow key Progressive de-selection code block. You can select the word or paragraph where the cursor is located, and then expand the unchecked range on the basis of the original selection.
Ctrl + Shift + N Command + Shift + O To locate/open a file/directory by file name, open the directory and add a forward slash after the input
Ctrl + Shift + U Command + Shift + U Convert the selected code in a large/lowercase rotation
Ctrl + Shift + T Command + Shift + T Generates unit test classes for the current class, which can be selected if a unit test class already exists
Ctrl + Shift + C Command + Shift + C Copy the current file disk path to the Clipboard
Ctrl + Shift + B Control + Shift + B Jump to type declaration
Ctrl + Shift +/ Command + Option +/ Code block comments
Ctrl + Shift + [ Command + Shift + [ Select the bracket position from the cursor position to the top of it
Ctrl + Shift +] Command + Shift +] Select the bracket position from the position of the cursor to the bottom of it
Ctrl + Shift + Plus Command + Shift + Plus Expand All Code
Ctrl + Shift + minus sign Command + Shift + minus Collapse All code
Ctrl + Shift + F7 Command + Shift + F7 Highlight all of the selected text and press ESC to highlight the disappear
Ctrl + Shift + F12 Command + Shift + F12 Editor maximization
Ctrl + Shift + Enter Command + Shift + Enter Auto-end code, automatically add semicolon at end of line
Ctrl + Shift + Backspace Ctrl + Shift + Backspace Go back to the last modified place
Ctrl + Shift + 1,2,3...9 Control + Shift + 1,2,3...9 Quickly add a bookmark for a specified value
Ctrl + Shift + left-click Command + Shift + left-click Place the cursor on a class variable, and press the shortcut key to navigate directly to the class.
Ctrl + Shift + LEFT ARROW key Option + Shift + LEFT ARROW key On the code file, the cursor jumps to the left-hand position of the current word/Chinese sentence and selects the word/Chinese sentence
Ctrl + Shift + RIGHT ARROW key Option + Shift + RIGHT ARROW key On the code file, the cursor jumps to the beginning of the right of the current word/Chinese sentence and selects the word/Chinese sentence
Ctrl + Shift + front arrow keys Command + Shift + Front arrow key The cursor is placed on the method name, the method is moved before the previous method, and the method is sorted
Ctrl + Shift + rear arrow keys Command + Shift + Rear arrow key The cursor is placed on the method name, the method is moved before the next method, and the method ordering is adjusted
Alt + Shift
Win shortcut key Mac shortcut Keys Introduction
Alt + Shift + N Option + Shift + B Select/Add Task
Alt + Shift + Left button double-click Option + Shift + Left button double-click Select the word/Chinese sentence that is double-clicked and press and hold to select a different word/Chinese sentence at the same time
Alt + Shift + Front arrow key Option + Shift + Front arrow key Move the row of the cursor up
Alt + Shift + Back arrow key Option + Shift + Rear arrow key Move the row of the cursor down
Ctrl + Shift + Alt
Win shortcut key Mac shortcut Keys Introduction
Ctrl + Shift + Alt + V Command + Shift + Option + V Unformatted Paste
Ctrl + Shift + Alt + S Command +; Open Current project Settings
Other
Win shortcut key Mac shortcut Keys Introduction
F2 F2 Jump to next highlight error or warning location
F4 F4 Edit Source
F11 F3 Add Bookmark
F12 F12 Go back to the previous tool window
Tab Tab Indent in
Esc Esc Enter the code file window from the tool window

IntelliJ idea shortcut keys under Windows and under Mac

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.