Window下idea個人快捷鍵 個人備忘

2021-10-09 05:42:17 字數 993 閱讀 2258

複製:duplicate entire lines :ctrl+alt+↓

刪除:delete line:ctrl+d

關閉視窗:close:ctrl+w;close all:ctrl+shift+w

擴大/縮小選取:extend selection:all+ shift + ↑;shrink selection:alt+ shift +↓

移動行:move line down:alt+↓;move line up:alt+↑

搜尋關鍵字:class...:ctrl+n;file...:ctrl+shift+n;symbol...:ctrl+shift+alt+n;all...: 雙擊shift

返回上次游標位置:back:alt+←;forward:alt+→

自動匯入:optimize imports:ctrl+alt+o

注釋:comment with line comment:ctrl+/;comment withblock comment:ctrl+shift+/

find、find in path:find...:ctrl+f;find next:cmd+l;find previous:shift+cmd + l;find in path:shift + ctrl + f

標記book'mark:foggle bookmark:ctrl + 8;show bookmarks:ctrl + shift + 8

debug:step over:f8;step into:f7;step out:shift+8;

自動引入:show intention actions:opt+enter

格式化**:command + option + l

查類關係:

1. 宣告使用:declaration:cmd+b

2.繼承:impementation:opt+cmd+b

3.型別宣告:type declaration:shift + cmd + b

4.類層級關係:hierarchy:ctrl+h

IDEA個人常用快捷鍵

ctrl f 在當前檔案進行文字查詢 必備 ctrl r 在當前檔案進行文字替換 必備 ctrl z 撤銷 必備 ctrl w 遞進式選擇 塊。可選中游標所在的單詞或段落,連續按會在原有選中的基礎上再擴充套件選中範圍 必備 ctrl e 顯示最近開啟的檔案記錄列表 必備 ctrl n 根據輸入的 類...

IDEA 個人常用快捷鍵

工作是飯碗,idea就是筷子 ctrl x 當作刪除使用,很方便 shift enter 向下插入新行 ctrl w 關閉視窗 我自己改了快捷鍵 之前是ctrl f4 ctrl d 複製並貼上選擇行 ctrl shift f 按檔案內容查詢 ctrl shift n 按檔名查賬 ctrl alt l...

IDEA常用快捷鍵 個人總結

home 回到行首 end 跳到行尾 收縮包 展開包 ctrl d 複製當前行,並貼上到下一行 ctrl x 剪下當前行,但一般當刪除使用 ctrl 快速注釋當前行 ctrl o override 重寫方法 ctrl i implement父類的方法 ctrl h 展開層級結構 ctrl f8 在該...