自己整理的idea快捷鍵
阿新 • • 發佈:2018-01-05
err ron navig 所在 mbo with 跳轉 this let
Editor Basics
Selection
- put the caret before any word.Press Ctrl+Shift+向右箭頭 to move caret to the next word with selection.
- Shift+上下箭頭選取代碼
- Ctrl+Y刪所在行。
- Alt+Shift+上下箭頭移動行
- Ctrl+W選擇code block,可以一直按增加直到整個選完。
- Ctrl+Shift+W是上面的反義。
- Alt+J選了在按一下選下一個一樣的。Alt+Shift+J去掉最後一被選的。Ctrl+Alt+Shift+J選所有出現了的。
Completions
smart completions
- PressCtrl+Shift+Enterto complete this statement.
Code Assistance
Folding
Ctrl+句點折疊被鼠標選中的塊。
Format
Ctrl+Alt+L整理代碼。
Paramerer Info
Ctrl+P to see method signature.
Quick Popups
- Ctrl+Q to see documentation for the symbol at caret.
- Ctrl+Shift+I to see the definition of the symbol at the caret.
- F2to see the next highlighted error in the file.
- Ctrl+F1to see the error description.
- Alt+Enteradd exception to method signature.
Ctrl+Alt+T選try/catch
Navigation
Jump to Source
- F4跳轉到源
- Ctrl+F12看文件結構
自己整理的idea快捷鍵