Custom Data Extension | Visual Studio Code Extension API
AI agents: See llms.txt for documentation discovery and navigation. Documentation articles are also available as Markdown by appending .md to the article URL. 🎬 Watch The Story of VS Code! VS Code is now on Instagram, follow @vscode.ig for updates, tips, and more. Rewatch GitHub Copilot Day. Custom Data Extension View as Markdown Ask in VS Code Ask in VS Code Insiders 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 . 10/7/2026