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]
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
orIndent using Tabs
- Select the amount of spaces or tabs you like. [@Tricky2016]