mac | win | Description |
---|---|---|
command + c | ctrl + c | copy |
command + v | ctrl + v | Paste |
command + x | ctrl + x | Delete selected row |
command + shift + R | ctrl + R | replace |
command + shift + N | ctrl + N | Find files |
command + shift + F | ctrl + F | Find all content, pay attention to shortcut key conflicts |
command + shift + ↑↓ | ctrl + shift + ↑↓ | Move code up and down |
command + option + L | ctrl + alt + L | Format code |
option + enter | alt + enter | Guide package |
ctrl + H | alt + H | Display the current class hierarchy |
shift + fn + F6 | shift + F6 | Rename |
option + fn + F7 | alt + F7 | Find method call |
get/set: alt+insert control+N
try/catch shortcut key ctrl+alt+t command + option + T to
find a class or interface subclass ctrl + B parent class or parent method definition ctrl + alt + B subclass Or sub-methods implement command+B and command+option+B
Extract the selected code as the method ctrl+Alt+M command+option+M
to return to the last viewed code ctrl+Alt+arrow key command+option+arrow key
参考:
1、https://www.cr173.com/html/56164_all.html
2、https://blog.csdn.net/lisongjia123/article/details/54949364
3、https://blog.csdn.net/lxfgzm/article/details/81137249
To be continued