CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 20:59:34 GMT
content-type: text/html; charset=utf-8
content-length: 36899
cache-control: s-maxage=300
etag: W/"9023-7e2k0jhHHd2nTNC3+Odi4GxMGpM"
strict-transport-security: max-age=31536000; includeSubDomains
request-context: appId=cid-v1:
content-security-policy: frame-ancestors 'self'
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-powered-by: ASP.NET
x-azure-ref: 20250718T205934Z-r15cb48d7759rrxfhC1BOM9f7c00000003f000000000580r
x-cache: TCP_REVALIDATED_HIT
x-fd-int-roxy-purgeid: 1
x-cache-info: L2_T2
accept-ranges: bytes
Custom Data Extension | Visual Studio Code Extension API
Try MCP servers to extend agent mode in VS Code!
Dismiss this update
Custom Data Extension
Custom Data format allows extension authors to easily extend VS Code's HTML / CSS language support without having to write code.
The two Contribution Points for using custom data in an extension are:
contributes.html.customData
contributes.css.customData
For example, by including this section in an extension's package.json
:
{
"contributes": {
"html": {
"customData": ["./html.html-data.json"]
},
"css": {
"customData": ["./css.css-data.json"]
}
}
}
VS Code will load the HTML/CSS entities defined in both files and provide language support such as auto-completion and hover information for those entities.
You can find the custom-data-sample at microsoft/vscode-extension-samples.
07/09/2025