Contents
1. Goto Anything (Navigation)
- Goto Anything:
Ctrl + P - Goto Symbol:
Ctrl + R - Goto Line:
Ctrl + G
2. Editing text
- Insert line before / after -
Ctrl + Shift + Return/Ctrl + Return - Copy line / Paste from history -
Ctrl + C/Ctrl + K, Ctrl + V - Delete to beginning / end -
Ctrl + Shift + Backspace/Ctrl + K - Delete / Cut a line -
Ctrl + Shift + K/Ctrl + X - Soft Undo / Redo -
Ctrl + U/Ctrl + Shift + U - Upper / lower case -
Ctrl + K, Ctrl + U/Ctrl + K, Ctrl + L - Joining Lines -
Ctrl + J - Bubble the line up / down -
Ctrl + Shift + up/Ctrl + Shift + down - Sort a line -
F9 - Duplicating a line -
Ctrl + Shift + D - Indent - Unindent -
Ctrl + ],Ctrl + [ - Commenting a line -
Ctrl + / - Close HTML tag -
Alt + . - Wrap line at ruler -
Alt + Q - Transpose -
Ctrl + T
3. Selection
- Multiple selection -
Ctrl + clicks at multiple places - Column Selection
Ctrl + Alt + UporCtrl + Alt + Down/Escfor going back to single - Split block of selection into multiple lines -
Ctrl + Shift + L - Select word with multiple occurrences -
Ctrl + D
Quick skip -Ctrl + K, Ctrl + D - Selecting a line -
Ctrl + L - Expand selection to brackets -
Ctrl + Shift + M - Expand selection to indentation -
Ctrl + Shift + J - Expand selection to scope -
Ctrl + Shift + Space
4. Navigation
- Goto symbol in project -
Ctrl + Shift + R - Goto definition -
F12 - Goto beginning / end of a line -
Home/End - Goto matching bracket -
Ctrl + M - Move back / forward in history -
Alt + -/Alt + Shift + - - Code fold / unfold -
Ctrl + Shift + [/Ctrl + Shift + ]
5. Find
- Find -
Ctrl + F
Find next -F3
Find previous -Shift + F3
Find all -Alt + Return(while find window is open)
Use selection to find -Ctrl + E - Incremental find -
Ctrl + I
Incremental find previous -Ctrl + Shift + I
Find all with incremental find -Alt + Return(while the panel is open) - Replace panel -
Ctrl + H
Replace next -Ctrl + Shift + H
Replace all -Ctrl + Alt + Return(Only when replace panel is open)
Add selection to replace -Ctrl + Shift + E - Quick find -
Ctrl + F3
Quick find previous -Ctrl + Shift + F3
Quick find all -Alt + F3 - Find in project -
Ctrl + Shift + F
6. Others
Opening User settings - ^ + ,
Python Console - ^ + Backticks
Command Palette - Ctrl + Shift + P
插件篇
- Insert Num
在多行选择的情况下使用数字自增长
快捷键 ctrl+alt+n