IntelliJ IDEA mac與windows中的快捷鍵、 IntelliJ IDEA常用插件

IntelliJ IDEA mac與windows中的快捷鍵

可以看出windows下的ctrl就是mac下的command,如windows下的刪除ctrl+x,在mac下是command+x
mac下的option就是windows下的alt

總結如下:

替換:ctrl+R           control + shift + R
查找文件:ctrl+N    command + N
查找全部內容:ctrl+shift+F    control + shift + F              ====注意與拼音的快捷鍵的重疊
重命名:shift+F6          shift+F6

導入包:  alt+enter   option + enter
刪除行 ctrl+X      command+X

get/set :alt+insert   control+N

try/catch的快捷鍵 ctrl+alt+t  command + option + T

格式化代碼      ctrl+Alt+L  command+ option +L

整行代碼向上/下移動 ctrl+Shift+箭頭  command+Shift+箭頭

撤回 ctrl+Z     command + Z

查找方法調用的地方 alt+F7  option+F7

查找實現一個類或者接口子類 ctrl + B父類或父方法定義ctrl + alt + B子類或子方法實現 command+B 和 command+option+B

將選中的代碼提取爲方法   ctrl+Alt+M  command+option+M  

查看方法的api文檔:control + J

參考:
1、https://www.cr173.com/html/56164_all.html  
2、https://blog.csdn.net/lisongjia123/article/details/54949364 

常用插件

maven helper 解決maven衝突

Translation 翻譯

Alibaba Java Coding Guidelines 阿里巴巴編碼規範掃描

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章