最近換工做,新公司用IDEA作開發,以前使用 win + Eclipse , 一會兒切換到 mbp + IDEA 感受很痛苦,手指徹底不知落在什麼鍵上。謹以此文作一個轉變過程當中的記錄。html
收集的一些比較好的學習文章:
IDEA官網從Eclipse 遷移到 IDEA
極客學院的一個教程intellij-idea
全局搜索 shift * 2 (點兩次shift鍵)eclipse
類型搜索 command + Oide
資源文件搜索 shift + command + O學習
這個搜索會出現結果列表,啥都能搜 shirt + command + F優化
轉到定義(類型,方法) command + Bidea
轉到實現 option + command + B調試
後退前進 command + []htm
找到下一個,指定文本後 command + G 反向則加 shirt繼承
show in(將當前類在項目視圖中展示) option + F1
代碼格式化 option + command + L
優化import ctrl + option + O
刪除當前行 command + delete
快速定位錯誤 F2
快速修復 option + enter
outline command + F12
繼承關係視圖 ctrl + H
project視圖 command + 1
直接在裏面使用終端 option + F12
最大化當前窗口 shift + command + F12
編譯 command + F9
運行 ctrl + R
調試 ctrl + D
更名 shift + F6
提取方法 option + command + m
提取變量 option + command + v
撤銷 command + z
恢復撤銷 shift + command + z