1. 程式人生 > >idea和eclipse常用快捷鍵對比

idea和eclipse常用快捷鍵對比

eclipse idea 描述
ctrl shit R ctrl shift N 根據檔名查詢檔案
ctrl H(File search) ctrl shift R 在檔案內容中查詢
syso alt+/ sout + tab System.out.printlin()快捷鍵
alt + / alt + enter 自動導包
ctrl + D ctrl + X 刪除一行
alt ↑/↓ ctrl shift ↑/↓ 移動一行
ctrl L ctrl G 跳到指定行
ctrl shift F ctrl alt L 程式碼格式化/美化
alt shift s alt insert 生成 getters / setters
eclipse debug快捷鍵
(F5)單步執行程式,遇到方法時進入;
(F6)單步執行程式,遇到方法時跳過;
(F7)單步執行程式,從當前方法跳出;
(F8)直接執行程式,遇到斷點時暫停;

idea debug:

F8單步,F9直接執行程式,遇到斷點時暫停;