1 min read

Visual Studio Code 使用心得

Toggle line comment

Ctrl+/ 类似于RStudio中的Ctrl+Shift+c,把代码变成了文本,不执行了。

Indent/outdent line

Ctrl+] / [

Other

Ctrl+K Ctrl+C Add line comment

Ctrl+K Ctrl+U Remove line comment

Home / End Go to beginning/end of line [@VisualStudioCodeCheatSheet]

分屏幕

Ctrl+ 1 2 3

Copy Line Down

Shift+Alt+Down

delete line

ctrl + shift + K

larger

ctrl + = 变大 # 改变tab width

  • Click on the Spaces (or Tab-Size)
  • Choose Indent Using Spaces or Indent using Tabs
  • Select the amount of spaces or tabs you like. [@Tricky2016]