IDEA 實用快捷鍵

2021-09-24 04:24:50 字數 676 閱讀 2823

ctrl alt  m     抽取方法  method

ctrl alt f 抽取字段 field

ctrl alt v 抽取變數 variable

ctrl alt c 抽取常量 const

ctrl f6 修改函式屬性

shift f6 重新命名

shift delete 安全刪除某一行

ctrl y 同上

alt enter 萬能鍵:解決高亮報警

ctrl alt n 內聯: inline

shift alt up/down 上下移動**塊

shift alt left/right 左右移動**塊

ctrl d 複製一行

ctrl w 選中乙個塊 可以重複按 擴大範圍

ctrl shift w 縮小範圍

ctrl alt s 開啟idea設定介面

ctrl alt shift s 開啟專案設定介面

(ctrl)alt f7 尋找引用

ctrl alt u 變大寫/小寫

f6 移動類、方法

IDEA實用快捷鍵

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

IDEA 實用快捷鍵

摺疊 塊 展開ctrl numpad plus 展開當前的摺疊片段 摺疊ctrl numpad 摺疊當前的摺疊區域 遞迴展開 ctrl alt numpad plus 展開當前摺疊片段和該片段中所有下屬的摺疊摺疊區域 遞迴摺疊 ctrl alt numpad 摺疊當前的摺疊區域和其中的所有下級摺疊區...

IDEA實用快捷鍵

都是可以常用的,快捷鍵不在多,下邊這些你能用到80 說明你已經工作很久了 ctrl z 撤銷 ctrl x 或ctrl y,刪除當前行 ctrl d,複製行 alt shift up down,上 下移一行 ctrl r,替換文字 ctrl f,查詢文字 ctrl shift f,全域性查詢 ctr...