实用教程-VSCode设置用户代码片段

First Post:

Last Update:

基础

代码片段配置

setting.json >folded
1
2
3
4
5
6
7
8
9
10
11

"[markdown]": {
"editor.formatOnSave": true,
"editor.renderWhitespace": "all",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.acceptSuggestionOnEnter": "on"
}

MarkDown

1
2
3
4
5
6
7
8
9
{
"more": {
"prefix": "more",
"body": [
"<!-- more -->"
],
"description": "阅读全文"
}
}