SoEasy——IDE常用的快捷鍵(部分)

IDE常用的快捷鍵做了一個映射,供大家參考:

刪除一行Eclipse:Ctrl+D;IDEA:Ctrl+Y

關閉當前窗口Eclipse:Ctrl+W;IDEA:Ctrl+F4

上移、下移一行Eclipse:Alt+↑、↓;IDEA:Ctrl+Alt+↑、↓

回退操作Eclipse:Ctrl+Z;IDEA:Ctrl+Z

反向回退Eclipse:Ctrl+Y;IDEA:Ctrl+Shift+Z

回到上一處編輯Eclipse:Alt+←;IDEA:Ctrl+Alt+←

提取變量Eclipse:Ctrl+1 And Ctrl+L;IDEA:Ctrl+Alt+V

添加或取消註釋Eclipse:Ctrl+/;IDEA:Ctrl+/

生成Getter、SetterEclipse:Alt+Shift+S;IDEA:Alt+Insert

光標移到相同的變量Eclipse:Ctrl+K;IDEA:F3或Ctrl+F7

打開類結構Eclipse:Ctrl+O;IDEA:Ctrl+F12

顯示類繼承層次Eclipse:Ctrl+T;IDEA:Ctrl+H

查看方法調用鏈Eclipse:Ctrl+Shift+H;IDEA:Ctrl+Alt+H

文件內容搜索Eclipse:Ctrl+H;IDEA:Ctrl+Shift+F

按文件名搜索Eclipse:Ctrl+Shift+R;IDEA:Ctrl+Shift+N

格式化代碼Eclipse:Ctrl+Shift+F;IDEA:Ctrl+Alt+L

代碼摺疊與打開Eclipse:Ctrl+Shift+*、/;IDEA:Ctrl+Shift+加號、減號

try-catch包圍Eclipse:Alt+Shift+S;IDEA:Ctrl+Shift+T


分享到:


相關文章: