我正在尝试设置自定义 emmet 片段,但它不起作用。
我的snippets.json文件
{
"html": {
"snippets": {
"testing": "div{Hello World}"
}
}
}
Run Code Online (Sandbox Code Playgroud)
我的文件肯定是“HTML”格式,我尝试重新启动 vscode。
我还检查了 snippets.json 的路径是否正确并且在“设置”中可见。
也尝试了两台不同的机器,同样的情况。
这是settings.json
{
"some other settings",
"emmet.extensionsPath": ["D:\\FRONTEND\\snippets.json"]
}
Run Code Online (Sandbox Code Playgroud)