IDEA版本基於(Ultimate 2019.3.1),快捷鍵採用系統默認配置,蘋果系統選擇的是Mac OS X
文本編輯
原文 | 描述 | Mac | Windows |
---|---|---|---|
Add or Remove Caret | 多處輸入(比如同時N行輸入) | ⌥⇧鼠標左 | |
Add Rectangular Selection On Mouse Grag | 多處修改(比如同時修改某個值) | ⌥⇧⌘鼠標左 | |
Backspace | 退格 | ⌫ | |
Choose Lookup Item | ↩︎ | ||
Choose Lookup Item and Insert Dog | ⌃. | ||
Choose Lookup Item Replace | ⇥ | ||
Move Caret to Code Block End | 移動光標到代碼塊的最尾 | ⌘] | |
Move Caret to Code Block End with Selection | 移動光標到代碼塊的最尾並選中 | ⇧⌘] | |
Move Caret to Code Block Start | 移動光標到代碼塊的最頭 | ⌘[ | |
Move Caret to Code Block Start with Selection | 移動光標到代碼塊的最頭並選中 | ⇧⌘[ | |
Complete Current Statment | ⇧⌘↩︎ | ||
Create Rectangular Selection | ⌥⇧鼠標右 | ||
Create Rectangular Selection on Mouse Drag | ⌥鼠標左,鼠標右 | ||
Delete | 刪除 | Fn⌫ | |
Delete Line | 刪除整行 | ⌘Y | |
Delete to Word End | 從光標處刪除到單詞或字符串最後 | ⌥⌦ | |
Delete to Word Start | 從光標處刪除到單詞或字符串開始 | ⌥⌫ | |
Down | 光標向下一行 | ↓ | |
Down with Selection | 光標向上一行並選中 | ⇧↓ | |
Duplicate Line or Selection | 複製整行或複製選中的文字(取決是否選中了文本) | ⌘D | |
Enter | 回車 | ↩︎ | |
Escape | esc | ||
Focus Gutter(accessibility) | |||
Join Lines | 合併行(會去掉空行,製表符,無效空格等) | ⌃⇧J | |
Left | 左移動光標 | ← | |
Left with Selection | 左移動光標並選中 | ⇧← | |
Move Caret to Line End | 移動光標到行尾 | Fn→,⌘→ | |
Move Caret to Line End with Selection | 移動光標到行尾並選中 | ⇧Fn→,⇧⌘→ | |
Move Caret to Line Start | 移動光標到行首 | Fn←,⌘← | |
Move Caret to Line Start with Selection | 移動光標到行首並選中 | ⇧Fn←,⇧⌘← | |
Move Caret to Matching Brace | ⇧⌘M | ||
Move Caret to Page Bottom | 移動光標到文件最下 | Fn⌘↓ | |
Move Caret to Page Bottom with Selection | 移動光標到文件最下並選中 | Fn⇧⌘↑ | |
Move Caret to Page Top | 移動光標到文件最上 | Fn⌘↓ | |
Move Caret to Page Top with Selection | 移動光標到文件最上並選中 | Fn⇧⌘↑ | |
Move Caret to Next Word | 移動光標到下一個單詞 | ⌥→ | |
Move Caret to Next Word with Selection | 移動光標到下一個單詞並選中 | ⌥⇧→ | |
Page Down | 光標移動到下一頁 | Fn↓ | |
Page Down with Selection | 光標移動到下一頁並選中 | ⇧Fn⌘ | |
Page Up | 光標移動到上一頁 | Fn↑ | |
Page Up with Selection | 光標移動到上一頁並選中 | ⇧Fn↑ | |
Paste from X clipboard | |||
Paste without Formatting | |||
Move Caret to Previous Word | 移動光標到上 一個單詞 | ⌥← | |
Move Caret to Previous Word with Selection | 移動光標到上一個單詞並選中 | ⌥⇧← | |
Right | 右移動光標 | → | |
Right with Selection | 左移動光標並選中 | ⇧→ | |
Scroll Down | 滾動體下移 | ⌘↓ | |
Scroll Up | 滾動體上移 | ⌘↑ | |
Extend Selection | 擴大選中範圍(多次按鍵逐步擴大) | ⌘W | |
Show Gutter Icon Tooltip(accessibility) | ⌥⇧6,T | ||
Split Line | 分割爲兩行 | ⌘↩︎ | |
Start New Line | 新的空行 | ⇧↩︎ | |
Start New Line Before Current | 光標上新的空行 | ⌥⌘↩︎ | |
Tab | 製表符 | ⇥ | |
Move Caret to Text End | 移動光標到文件末尾 | Fn⌘→ | |
Move Caret to Text End with Selection | 移動光標到文件末尾並選中 | Fn⇧⌘→ | |
Move Caret to Text Start | 移動光標到文件開頭 | Fn⌘← | |
Move Caret to Text Start with Selection | 移動光標到文件開頭並選中 | Fn⇧⌘← | |
Toggle Case | 大小寫轉換 | ⇧⌘U | |
Column Selection Mode | ⇧⌘U | ||
Shrink Selection | ⇧⌘W | ||
Unindent Line or Selection | 取消縮進 | ⇧⇥ | |
Up | 光標向上一行 | ↑ | |
Up with Selection | 光標向上一行並選中 | ⇧↑ | |
Next Parameter | ⇥ | ||
Next Template Variable or Finish In-Place Refactoring | ⇥,↩︎ | ||
Prev Parameter | ⇧⇥ | ||
Previous Template Variable | ⇧⇥ | ||
Undo | 撤銷操作 | ⌘Z | |
Redo | 取消撤銷 | ⇧⌘Z | |
Cut | 剪貼 | ⌘X | |
Copy | 拷貝 | ⌘C | |
Copy Paths | 複製文件的絕對路徑 | ⇧⌘C | |
Copy Preferences | ⌥⇧⌘C | ||
Paste | 粘貼 | ⌘V | |
Paste from History… | 打開粘貼對話框,可以粘貼歷史複製的內容 | ⇧⌘V | |
paste without Fomatting | ⌥⇧⌘V | ||
Select All | 選中所有 | ⌘A | |
Comment with Line Comment | 整行註釋 | ⌘/ | |
Comment with Blokc Comment | 多行註釋 | ⇧⌃/ | |
Reformat Code | 代碼格式化 | ⌥⌘L | |
Optimize Import | 智能導入依賴 | ⌥⌘O |
##菜單 窗口
原文 | 描述 | Mac | Windows |
---|---|---|---|
Preferences… | 打開首選項 | ⌘, | |
Project Structure | 打開項目結構窗口 | ⌘; | |
Save All | 保存所有 | ⌘s | |
Synchronize | 同步 | ⌥⌘Y | |
Exit | 退出 | ⌘Q | |
Quick Defintion | ⇧⌘I | ||
Quick Documentation | 快速打開文檔 | ⌃J,⌃鼠標右鍵 | |
External Documentation | ⇧F1 | ||
Parameter Info | 顯示參數信息 | ⌘P | |
Type Info | 顯示類 | ⌃⇧P | |
Context Info | ⌃⇧Q | ||
Error Description | 代碼有錯誤的地方,可以顯示錯誤描述,等同於鼠標左鍵放上去的效果 | ⌘F1 | |
Show unique XPath | ⌥⌘X,P | ||
Jump to Source | 打開並跳轉到源代碼文件 | F4 | |
Show Source | ⌘↩︎ | ||
Recent Files | 打開最近使用文件對話框 | ⌘E | |
Toggle Change Only Files | 在打開最近使用文件對話框後,篩選保留僅改變過的文件 | ⌘E | |
Recent Locations | ⇧⌘E | ||
Recent Change | 顯示最近做出的改變列表 | ⌥⇧C | |
Compare Files | 選中某個文件後,可以與另外一個文件做對比 | ⌘D | |
Quick Swich Scheme… | 快速打開主題選擇項 | ⌃` | |
Toggle Full Screen Mode | 全屏切換 | ⌃⌘F | |
Show Reformat File Dialog | 顯示文件格式化彈出框 | ⇧⌥⌘L |