自己整理的idea實用快捷鍵

2021-08-15 11:26:57 字數 1450 閱讀 2912

1. alt + f1 + 1 快捷鍵來定位當前檔案所在 project 元件視窗中的位置。

2. ctrl+e  顯示最近使用的檔案

3.  ctrl + r 文字替換

4. ctrl +y 刪除當前行

5. ctrl +d  複製貼上到下一行

6. ctrl + w 遞進試選中

7. ctrl + n  根據輸入的 類名 查詢類檔案

8. ctrl + j  插入自定義動態**模板

9. ctrl + b *****ctrl + 左鍵單擊

10. ctrl + +/-    展開**、摺疊**

11. ctrl + f4   關閉當前的檔案

12. ctrl + f10 執行tomcat之類的

13. ctrl + tab  編輯視窗間切換

14. ctrl + end  跳到檔案尾部

15. ctrl + home  跳到檔案頭部 

16. alt + insert  自動生成**

17. alt + 上下方向  方法間跳轉

18. shift + f6  重新命名檔案資料夾

19. shift + f9  開始debug

20. shift + f10  開始執行 

21. shift + end 選中游標到當前行尾部

22. shift + home 選中游標到當前行首部

23. shift + 滾輪  當前檔案橫向滾動

24. ctrl + alt + l  **格式化

25. ctrl + alt + i   對選中的行自動**縮排

26. ctrl + alt + t   對選中的部分彈出環繞選項

27. ctrl + alt + s   開啟setting

28. ctrl + alt + 空格   類名自動完成

29. ctrl + alt + 左右方向    退回前進到上乙個操作處

30. ctrl + shift + 上下   調整選中**在方法內的位置,調整整個方法間的位置

31. ctrl + shift + f   整個專案內查詢內容

32. ctrl + shift + r   整個專案內文字替換

33. ctrl + shift + j    將下一行連線到當前行末尾

34. ctrl + shift + n  整個專案內查詢檔案、資料夾

35. ctrl + shift + u     大小寫切換

36. ctrl + shift + b     跳轉到當前型別的宣告處

37. ctrl + shift + 【/】      選中當前位置到頂部或底部大括號的內容

38. ctrl + shift + +/-        展開摺疊所有**

39. alt + shift + 上下鍵     調整**上下位置

40. esc        從工具視窗退出到**編輯視窗

idea 實用快捷鍵整理

alt insert 自動生成 getter,setter,構造方法,hashcode等物件常用方 法 alt f7 可以幫你找到你的函式或者變數或者類的所有引用到的地方 alt enter 一般都是一些對於 優化的建議,新增未實現的方法等 ctrl alt l 格式化 ctrl alt o 優化i...

IDEA實用快捷鍵

快捷鍵說明 move caret to code block end ctrl 諸如 圍起來的 塊,使用該快捷鍵可以快速跳轉至 塊的結尾處 move caret to code block start ctrl 同上,快速跳至 塊的開始出 complete current statement ctr...

IDEA 實用快捷鍵

ctrl alt m 抽取方法 method ctrl alt f 抽取字段 field ctrl alt v 抽取變數 variable ctrl alt c 抽取常量 const ctrl f6 修改函式屬性 shift f6 重新命名 shift delete 安全刪除某一行 ctrl y 同...