用的比較多的 IDEA 快捷鍵(MAC 版)

2021-09-29 05:09:46 字數 666 閱讀 9410

option + command + l: 格式化**

option + command + o: 刪去無用的包引用語句

command + n:查詢 類

command + shift + n:查詢 檔案

option + command + t:包裹一段**,比如用 try-catch

command + shift + u: 大小寫轉換

command + d:複製一行

command + x:刪除一行

command + g:跳到某一行

fn + command + r:查詢替換

shift + command + 左/右:選中一行

shift + command + 上/下:上下移動選中的那一行

shift + f6: 重新命名

command + j:選擇**模版

command + e:最近瀏覽過/修改過的檔案

idea比較常用的快捷鍵

最常用快捷鍵 ctrl z 撤銷 萬能後悔靈藥 ctrl shift z 取消撤銷 ctrl 注釋游標所在行 alt enter 根據游標所在問題,提供快速修復選擇 alt insert 自動生成set get 方法,建構函式,tostring 等方法 f2跳轉到下乙個高亮錯誤 或 警告位置 ctr...

IDEA 的快捷鍵

1.自動 常用的有fori sout psvm tab即可生成迴圈 system.out main方法等boilerplate樣板 例如要輸入for user user users 只需輸入user.for tab 再比如,要輸入date birthday user.getbirthday 只需輸入...

IDEA的快捷鍵

intellij idea 常用快捷鍵 列表 實戰終極總結!1.自動 常用的有fori sout psvm tab即可生成迴圈 system.out main方法等boilerplate樣板 例如要輸入for user user users 只需輸入user.for tab 再比如,要輸入date ...