支持带注释的json
支持带注释的json
修改 lsp-json 的配置如下:
// lsp-json.sublime-settings
{
"settings": {
"json.format.enable": true,
"json.resultLimit": 5000,
"jsonc.patterns": [
".json", // 此处添加json文件即可
".babelrc",
".eslintrc",
".eslintrc.json",
".hintrc",
".jsfmtrc",
".jshintrc",
".jsonc",
".swcrc",
"/.ember-cli",
"/.vscode/*.json",
"/babel.config.json"
],
"userSchemas": []
}
}