This demonstrates Custom HTML/CSS data support for VS Code.
See https://code.visualstudio.com/updates/v1_31 for details.
- Open this folder in VS Code 1.31+
- Try completion/hover in the test.html and test.css
- Edit data in html.json and css.json and reload to update the custom data
This setting checks the custom data against latest schema:
{
"json.schemas": [
{
"fileMatch": ["/html.json"],
"url": "https://raw.githubusercontent.com/Microsoft/vscode-html-languageservice/master/docs/customData.schema.json"
},
{
"fileMatch": ["/css.json"],
"url": "https://raw.githubusercontent.com/Microsoft/vscode-css-languageservice/master/docs/customData.schema.json"
}
]
}
See a real-world example at https://github.com/octref/svg-data.
MIT