Editingexpress
Ctrl + Space Basic code completion (the name of any class, method or variable) 代碼提示ide
Ctrl + Shift + Space Smart code completion (filters the list of methods and variables by expected type)ui
Ctrl + Alt + Space Class name completion (the name of any project class independently of current imports)lua
Ctrl + Shift + Enter Complete statement spa
Ctrl + P Parameter info (within method call arguments) 查看方法參數信息debug
Ctrl + Q Quick documentation lookup 調試
Shift + F1 External Doc code
Ctrl + mouse over codeBrief Infoorm
Ctrl + F1 Show descriptions of error or warning at caret 顯示錯誤、警告信息繼承
Alt + Insert Generate code... (Getters, Setters, Constructors, hashCode/equals, toString) 生成seter/geter
Ctrl + O Override methods 重寫父類方法
Ctrl + I Implement methods 實現父類、接口抽象方法
Ctrl + Alt + T Surround with... (if..else, try..catch, for, synchronized, etc.)
Ctrl + / Comment/uncomment with line comment 單行註釋、取消單行註釋
Ctrl + Shift + / Comment/uncomment with block comment 多行午註釋、取消多行註釋
Ctrl + W Select successively increasing code blocks 增量選擇代碼塊
Ctrl + Shift + W Decrease current selection to previous state 減小選擇代碼塊
Alt + Q Context info
Alt + Enter Show intention actions and quick-fixes
Ctrl + Alt + L Reformat code 格式化代碼
Ctrl + Alt + O Optimize imports 組織管理導入
Ctrl + Alt + I Auto-indent line(s) 自動縮進,格式化代碼
Tab / Shift + Tab Indent/unindent selected lines 縮進、取消縮進
Ctrl + X or Shift + Delete Cut current line or selected block to clipboard 剪切
Ctrl + C or Ctrl + Insert Copy current line or selected block to clipboard 複製
Ctrl + V or Shift + Insert Paste from clipboard 粘貼
Ctrl + Shift + V Paste from recent buffers...
Ctrl + D Duplicate current line or selected block 複製當前行或選中行
Ctrl + Y Delete line at caret 刪除一行
Ctrl + Shift + J Smart line join
Ctrl + Enter Smart line split
Shift + Enter Start new line 加一行
Ctrl + Shift + U Toggle case for word at caret or selected block 大小寫切換
Ctrl + Shift + ] / [ Select till code block end/start 選中代碼塊
Ctrl + Delete Delete to word end 從後面刪除一個詞
Ctrl + Backspace Delete to word start 從前面刪除一個詞
Ctrl + NumPad+/- Expand/collapse code block 代碼塊展開、摺疊
Ctrl + Shift + NumPad+ Expand all 代碼所有展開
Ctrl + Shift + NumPad- Collapse all 代碼所有摺疊
Ctrl + F4 Close active editor tab 關閉當前tab
Search/Replace
Ctrl + F Find 查找
F3 Find next 向下查找
Shift + F3 Find previous 向上查找
Ctrl + R Replace 替換
Ctrl + Shift + F Find in path 從目錄中查找
Ctrl + Shift + R Replace in path 從目錄中替換
Ctrl + Shift + S Search structurally (Ultimate Edition only)
Ctrl + Shift + M Replace structurally (Ultimate Edition only)
Usage Search
Alt + F7 / Ctrl + F7 Find usages / Find usages in file
Ctrl + Shift + F7 Highlight usages in file
Ctrl + Alt + F7 Show usages
Compile and Run
Ctrl + F9 Make project (compile modifed and dependent) 編譯項目
Ctrl + Shift + F9 Compile selected file, package or module 編譯選中項
Alt + Shift + F10 Select configuration and run
Alt + Shift + F9 Select configuration and debug
Shift + F10 Run 運行
Shift + F9 Debug 調試
Ctrl + Shift + F10 Run context configuration from editor
Debugging
F8 Step over
F7 Step into
Shift + F7 Smart step into
Shift + F8 Step out
Alt + F9 Run to cursor
Alt + F8 Evaluate expression
F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl + Shift + F8 View breakpoints
Navigation
Ctrl + N Go to class 打開類
Ctrl + Shift + N Go to file 打開文件
Ctrl + Alt + Shift + N Go to symbol 打開變量定義
Alt + Right/Left Go to next/previous editor tab 切換tab
F12 Go back to previous tool window 回到上個窗口
Esc Go to editor (from tool window) 回到編輯窗口
Shift + Esc Hide active or last active window 隱藏窗口
Ctrl + Shift + F4 Close active run/messages/find/... tab
Ctrl + G Go to line 跳到指定行
Ctrl + E Recent files popup 最近編輯文件彈窗
Ctrl + Alt + Left/Right Navigate back/forward 導航窗口切換
Ctrl + Shift + Backspace Navigate to last edit location 回到最後導航窗口
Alt + F1 Select current file or symbol in any view
Ctrl + B or Ctrl + Click Go to declaration 跳至定義處
Ctrl + Alt + B Go to implementation(s) 跳至實現處,通常是方法的實現
Ctrl + Shift + I Open quick definition lookup
Ctrl + Shift + B Go to type declaration 跳至定義的類型
Ctrl + U Go to super-method/super-class 跳至超類的方法或超類
Alt + Up/Down Go to previous/next method 上、下一個方法
Ctrl + ] / [ Move to code block end/start 跳至代碼塊的結尾、開始
Ctrl + F12 File structure popup 顯示文件結構,能夠查看方法定義等
Ctrl + H Type hierarchy 類的繼承結構
Ctrl + Shift + H Method hierarchy 方法層級結構
Ctrl + Alt + H Call hierarchy 方法被調用層級
F2 / Shift + F2 Next/previous highlighted error 下、上一個錯誤處
F4 / Ctrl + Enter Edit source / View source
Alt + Home Show navigation bar 顯示當前導航
F11 Toggle bookmark
Ctrl + Shift + F11 Toggle bookmark with mnemonic
Ctrl + #[0-9] Go to numbered bookmark
Shift + F11 Show bookmarks