VS Code 快速鍵
Description | hot key |
---|---|
行複製 | Shift + Alt + Up/Down |
line move up/down | Alt + up/down |
previous/next editing | Alt + left/right |
variable rename | F2 |
code formatting | Shift + Alt + F |
delete line | Ctrl + x |
jump to implementation | F12 |
其他操作
- Organize imports:
- 點小燈泡 > Remove all the unused imports
- 點小燈泡 > Expand glob import
- 點小燈泡 > Remove the whole 'use' item