生活随笔
收集整理的這篇文章主要介紹了
IDEA快捷键200+分类汇总
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
第一步:選擇IDEA快捷鍵組合
- IDEA 支持多種快捷鍵來源,選擇IDEA快捷鍵組合
第二步:解決快捷鍵沖突
- 快捷鍵存在沖突的情況,主要體現在輸入法:關閉沖突搜狗快捷鍵
快捷鍵介紹:
1. 按組合分類
Alt +
快捷鍵中文描述英文描述
| Alt+0 | Commit窗口 | |
| Alt+1 | Project窗口 | |
| Alt+2 | Favourite窗口 | |
| Alt+3 | Find窗口 | |
| Alt+4 | Run窗口 | |
| Alt+5 | Debug窗口 | |
| Alt+6 | Problem窗口 | |
| Alt+7 | | File structure |
| Alt+8 | Services窗口 | |
| Alt+9 | Git窗口 | |
| Alt+F1 | | Select current file or symbol in any view |
| Altl+F4 | | Close IDEA |
| Alt+F7 | | Find usages |
| Alt+F8 | | Evaluate expression |
| Alt+F9 | 跳到光標 | Run to cursor |
| Alt+F10 | 跳轉到當前斷點出 | |
| Alt+F12 | Terminal窗口 | |
| Alt+J | 查詢列表加選下一個 | |
| Alt+Q | 和截圖沖突我本地改為Alt+Shift+Q | Context info |
| Alt+V | 打開對應工具欄 | |
| Alt+Home | 查看包下的類 | Show navigation bar |
| Alt+Insert | | Generate code… (Getters, Setters, Constructors, hashCode/equals, toString) |
| Alt+Right/Left | | Go to next / previous editor tab |
| Alt+BackQuote(`) | | VCS Operations Popup |
| Alt+Delete | | Safe Delete |
| Alt+Enter | | Show intention actions and quick-fixes |
| Alt+Up/Down | | Go to previous / next method |
| Alt+左鍵拖動 | 選擇代碼 | |
Ctrl +
快捷鍵中文描述英文描述
| Ctrl+#[0-9] | | Go to numbered bookmark |
| Ctrl+D | | Duplicate current line or selected block |
| Ctrl+E | | Recent files popup |
| Ctrl+F | | Find |
| Ctrl+F1 | | Show descriptions of error or warning at caret |
| Ctrl+F11 | | Toggle bookmark with mnemonic |
| Ctrl+F12 | | File structure popup |
| Ctrl+F2 | | Stop |
| Ctrl+F4 | | Close active editor tab |
| Ctrl+F5 | | Rerun |
| Ctrl+F6 | | Change Signature |
| Ctrl+F7 | Ctrl+F沒啥區別 | Find usages in file |
| Ctrl+F8 | 增加/刪除斷點 | Toggle breakpoint |
| Ctrl+F9 | 編譯項目 | Make project (compile modifed and dependent) |
| Ctrl+G | | Go to line |
| Ctrl+H | | Type hierarchy |
| Ctrl+I | | Implement methods |
| Ctrl+J | | Insert Live Template |
| Ctrl+K | | Commit project to VCS |
| Ctrl+N | | Go to class |
| Ctrl+O | | Override methods |
| Ctrl+P | | Parameter info (within method call arguments) |
| Ctrl+Q | | Quick documentation lookup |
| Ctrl+R | | Replace |
| Ctrl+S | | Save all |
| Ctrl+T | | Update from VCS |
| Ctrl+Tab | | Switch between tabs and tool window |
| Ctrl+U | | Go to super-method / super-class |
| Ctrl+W | | Select successively increasing code blocks |
| Ctrl+Y | | Delete line at caret |
| Ctrl+Z | 撤銷 | |
| Ctrl+/ | | Comment/uncomment with line comment |
| Ctrl+]/[ | | Move to code block end/start |
| Ctrl+Space | | Basic code completion (the name of any class, method or variable) |
| Ctrl+B/Ctrl+Click/F4 | | Go to declaration |
| Ctrl+BackQuote(`) | | Quick switch current scheme |
| Ctrl+C/Ctrl+Insert | | Copy current line or selected block to clipboard |
| Ctrl+Enter/Enter | | Smart line split |
| Ctrl+Delete/Backspace | | Delete to word end/start |
| Ctrl+NumPad- | | Collapse code block |
| Ctrl+NumPad+ | | Expand code block |
| Ctrl+X/Shift+Delete | | Cut current line or selected block to clipboard |
| Ctrl+V/Shift+Insert | | Paste from clipboard |
| Ctrl+mouseovercode | | |
Shift +
快捷鍵中文描述英文描述
| Shift+F1 | 如果有外部文檔可以連接外部文檔 | External Doc |
| Shift+F2 | 跳轉到上一個高亮錯誤 或 警告位置 | previous highlighted error |
| Shift+F3 | 在查找模式下、查找匹配上一個 | Find previous |
| Shift+F4 | 對當前打開的文件使用新Windows窗口打開舊窗口保留 | |
| Shift+F6 | 對文件 / 文件夾 重命名 | Rename |
| Shift+F7 | Debug 模式下,智能步入、斷點所在行上有多個方法調用,會彈出進入哪個方法 | Smart Step into |
| Shift+F7 | | previous different |
| Shift+F8 | 在 Debug 模式下,跳出,表現出來的效果跟 F9 一樣 | Step out |
| Shift+F9 | 等效于點擊工具欄的 Debug 按鈕 | Debug |
| Shift+F10 | 等效于點擊工具欄的 Run 按鈕 | Run |
| Shift+F11 | 彈出書簽顯示層 | Show bookmarks |
| Shift+Tab | 取消縮進 | unindent selected lines |
| Shift+End | 選中光標到當前行尾位置 | |
| Shift+Home | 選中光標到當前行頭位置 | |
| Shift+滾輪前后滾動 | 當前文件的橫向滾動軸滾動 | |
| Shift+左鍵單擊 | 在打開的文件名上按此快捷鍵,可以關閉當前打開文件 | |
| Shift+Enter | 開始新一行。光標所在行下空出一行,光標定位到新行位置 | Start new line |
| Shift+Esc | | Hide active or last active window |
Alt+Shift +
快捷鍵中文描述英文描述
| Alt+Shift | | |
| Alt+Shift+C | | View recent changes |
| Alt+Shift+F | | Add to Favorites |
| Alt+Shift+F10 | | Select configuration and run |
| Alt+Shift+F7 | 強制進入方法 | Force Step into |
| Alt+Shift+F8 | 強制下一步 | Force Step over |
| Alt+Shift+F9/F9 | | Select configuration and debug |
| Alt+Shift+I | | Inspect current file with current profile |
| Alt+Shift+J | 查詢列表取消上一個加選的 | |
| Alt+Shift+左鍵 | 插入光標 | |
Ctrl+Shift +
快捷鍵中文描述英文描述
| Ctrl+Shift+#[0-9] | 直接追加numbered bookmark | |
| Ctrl+Shift+/ | | Comment/uncomment with block comment |
| Ctrl+Shift+[ | | Select till code block start |
| Ctrl+Shift+\ | | URL Mapping |
| Ctrl+Shift+] | | Select till code block end |
| Ctrl+Shift+A | | Find Action |
| Ctrl+Shift+B | | Go to type declaration |
| Ctrl+Shift+BackQuote(`) | | Branch |
| Ctrl+Shift+Backspace | | Navigate to last edit location |
| Ctrl+Shift+C | 復制文件絕對路徑 | |
| Ctrl+Shift+E | | |
| Ctrl+Shift+Enter | | Complete statement |
| Ctrl+Shift+F | | Find in path |
| Ctrl+Shift+F10 | Recompile+Shift+F10 | Run context configuration from editor |
| Ctrl+Shift+F12 | 最大化編輯器 | Toggle maximizing editor |
| Ctrl+Shift+F2 | | Stop Backend Progress |
| Ctrl+Shift+F4 | | Close active run / messages / find / … tab |
| Ctrl+Shift+F6 | 重構變量的類型 | |
| Ctrl+Shift+F7 | Ctrl+F沒啥區別 | Highlight usages in file |
| Ctrl+Shift+F8 | 查看斷點 | View breakpoints |
| Ctrl+Shift+F9 | Recompile+Shift+F9 | Compile selected file, package or module |
| Ctrl+Shift+H | | Method hierarchy |
| Ctrl+Shift+I | | Open quick definition lookup |
| Ctrl+Shift+J | | Smart line join |
| Ctrl+Shift+K | | Push |
| Ctrl+Shift+N | | Go to file |
| Ctrl+Shift+NumPad- | | Collapse all |
| Ctrl+Shift+NumPad+ | | Expand all |
| Ctrl+Shift+O | | codata Relevant examples |
| Ctrl+Shift+P | 查看返回值類型 | |
| Ctrl+Shift+Q | codata 代碼查詢 | |
| Ctrl+Shift+R | | Replace in path |
| Ctrl+Shift+S | SonarLint 代碼分析 | |
| Ctrl+Shift+Space | | Smart code completion (filters the list of methods and variables by expected type) |
| Ctrl+Shift+T | 跳到測試類 | |
| Ctrl+Shift+U | | Toggle case for word at caret or selected block |
| Ctrl+Shift+U | CamelCase命名切換 | |
| Ctrl+Shift+V | | Paste from recent bu" ers… |
| Ctrl+Shift+W | | Decrease current selection to previous state |
| Ctrl+Shift+Y | 翻譯 | |
| Ctrl+Shift+Z | 取消撤銷 | |
Ctrl+Alt +
快捷鍵中文描述英文描述
| Ctrl+Alt+A | | Add |
| Ctrl+Alt+B | | Go to implementation(s) |
| Ctrl+Alt+C | | Extract Constant |
| Ctrl+Alt+F | | Extract Field |
| Ctrl+Alt+F12/Alt+F1轉D | 打開本地目錄 | |
| Ctrl+Alt+F6 | 查看覆蓋率 | Show Coverage Data |
| Ctrl+Alt+F7 | | Show usages |
| Ctrl+Alt+F8 | | Quick Evaluate expression |
| Ctrl+Alt+F9 | 強勢跳到光標 | Force Run to cursor |
| Ctrl+Alt+H | | Call hierarchy |
| Ctrl+Alt+Home | 跳轉到相關的 Symbol | Releated Symbol |
| Ctrl+Alt+I | | Auto-indent line(s) |
| Ctrl+Alt+J | | Surround with Live Template |
| Ctrl+Alt+L | | Reformat code |
| Ctrl+Alt+Left/Right | | Navigate back / forward |
| Ctrl+Alt+M | | Extract Method |
| Ctrl+Alt+N | | Inline |
| Ctrl+Alt+O | | Optimize imports |
| Ctrl+Alt+P | | Extract Parameter |
| Ctrl+Alt+S | | Open Settings dialog |
| Ctrl+Alt+Space | 補全類名 | |
| Ctrl+Alt+T | | Surroundwith…(if…else,try…catch, for, synchronized, etc.) |
| Ctrl+Alt+U | | UML |
| Ctrl+Alt+V | | Extract Variable |
| Ctrl+Alt+Z | | Rollback |
| | |
| Ctrl+Alt+Shift | | |
| Ctrl+Alt+Shift+/ | | Maintenance |
| Ctrl+Alt+Shift+C | | Copy Reference |
| Ctrl+Alt+Shift+D | | Show Local Changes as UML |
| Ctrl+Alt+Shift+F7 | | Find usages Setting |
| Ctrl+Alt+Shift+J | 查詢列表全部選中 | |
| Ctrl+Alt+Shift+L | 格式化整個文件 | |
| Ctrl+Alt+Shift+N | | Go to symbol |
| Ctrl+Alt+Shift+S | | Open Project Structure dialog |
| Ctrl+Alt+Shift+T | 重構菜單 | |
| Ctrl+Alt+Shift+U | | Pop UML |
其他
快捷鍵中文描述英文描述
| 其他 | | |
| F2 | 跳轉到下一個高亮錯誤 或 警告位置 | Next |
| F3 | 在查找模式下、查找匹配下一個 | Find next |
| F5 | | Copy |
| F6 | | Move |
| F7 | 進入方法 | Step into |
| F7 | | next different |
| F8 | 下一步 | Step over |
| F9 | 恢復程序、直到下個斷點攔截 | Resume program |
| F11/Ctrl+左鍵 | | Toggle bookmark |
| F12 | | Go back to previous tool window |
| DoubleShift | | Search everywhere |
| Tab | 縮進 | Indent |
| Esc | 隱藏當前 或 最后一個激活的工具窗口 | Go to editor (from tool window) |
2. 按功能分類
官方文檔介紹
參考:
IDEA 官方幫助文檔
總結
以上是生活随笔為你收集整理的IDEA快捷键200+分类汇总的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。