Skip to main content

vsdode设置

write contents here

How to

取消unicodeHighlight

md文件的中文总是有一个黄色的框,很是讨厌。我们需要把vscode中

"[markdown]": {
"editor.unicodeHighlight.nonBasicASCII": false
}

markdown snippsets in setting.json

"[markdown]": {
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
}

同时编辑

同时编辑变量

选中需要修改的内容,按下快捷键,即可同时编辑多个位置。 Mac : ⌘ command + ⇧ shift + L Windows : ⇧ shift + ⌃ ctrl + L

同时编辑多行

  • 按住⌥ alt,用鼠标左键点击,可以出现多个光标:
  • 按住 ⌘ command + ⌥ alt (Windows 为 ⌃ ctrl + ⌥ alt),再按键盘向上或者向下的键,可以使一列上出现多个光标:
  • 选中一段文字,按⇧ shift + ⌥ alt + I,可以在每行末尾出现光标:
  • 先点击某一位置,按住 ⇧ shift + ⌥ alt,再使用鼠标拖动,也可以出现竖直的列光标,可以同时选中多列:

References

https://zhuanlan.zhihu.com/p/369369584