Snippets
vscode 提供的用户自定义代码提示设置
1
2
3
4
5
6
7
8
9
10
11
|
shift + ctrl + p ---> Snippets ---> 首选项配置用户代码片段
// 样式如下
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
|
自定义代码补全插件
相关文档https://github.com/niexias/niexias.github.io/issues/48