idea shortcut keys for mac

This time I bring some shortcut key operations in the idea. Now many of the shortcut keys introduced by blogs on the Internet are based on windows or are too old, so I have sorted them out this time for your convenience.

 

Features keymap
Show or hide the project window ⌘1
Show or hide recently modified files (associated with git) ⌘9
Show or hide the Run window ⌘4
Run the main method (Run method) ⇧^R
Show or hide the Debug window ⌘5
Run the main method (Debug mode) ⇧^D
Show or hide the terminal window (Terminal) ⌥F12
Move current line up ⇧⌘↑
Move down the current line ⇧⌘↓
copy current line ⌘D
delete current line ⌘⌫
cut current line ⌘X
comment the current line ⌘/
Multi-line comment (comment selected line) ⇧⌘/
Find the specified character ⌘F
Find the specified character globally ⇧⌘F
Find and replace specified characters ⌘R
Find the next character after the specified character ⌘G
Find the previous character of the specified character ⇧⌘G
reach the beginning of the line ⌘←
reach end of line ⌘→
Return to the previous operation ⌘[
Return to the next step ⌘]
compressed code block ⌘-
expand code block ⌘+
Combine selected codes into code blocks ⌥⌘T
Highlight selected characters ⇧⌘F7
any search ⇧x2
Navigate to class file ⌘O
Navigate to file ⇧⌘O
Navigate to the specified string ⌥⌘O
Recently used files ⌘E
file structure ⌘F12
select navbar ⌥F1
Navigate to Definition ⌘B
inheritance relationship ^H
Quick display definition ⌥⌘F7
show implementation ⌥⌘B
Rename ⇧F6
Destructuring into a local variable (variable) ⌥⌘V
Destructured into a global variable (field) ⌥⌘F
Destructuring to constant (constant) ⌥⌘C
Deconstructed into a method ⌥⌘M
Destructuring into method parameters ⌥⌘P
normal text query ⇧⌘F
format the code ⌥⌘L
auto indent ^⌥I
Smart import ^⌥O
enter the method ⇧F7
jump over F8
jump out ⇧F8
View the value of an expression ⌥F8
Switch case when selected ⇧⌘U

 

The table is edited with the macdown editor, and it is surprising that it can be copied directly into iteye, although the color is gone.

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326891733&siteId=291194637