设定vscode用户代码段
这本来挺简单的,左下角设置
-用户代码段配置
在选项中可以选择类型专属或者全局代码段.
今天遇到的问题是配置Markdown
代码段之后,没有效果,但测试其他类型没有问题.
经过查询,需要在settings.json
当中设定editor.quickSuggestions
字段:
"[markdown]": {
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false,
"editor.wordWrap": "on",
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
}
}
开启即可.
标签:quickSuggestions,代码段,unicodeHighlight,editor,vscodeSnippetSetting,false From: https://www.cnblogs.com/linxiaoshu/p/16867379.html