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看文件结构