mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
Custom Data Sample
This demonstrates packaging custom data into a VS Code extension.
Guide for this sample: https://code.visualstudio.com/api/extension-guides/custom-data-extension.
Demo
VS Code API
Contribution Points
Running the Sample
- Run the
Run Extensiontarget in the Debug View. - Open a HTML file. You should receive auto completion and hover information for the HTML entities defined in
html.html-data.json. - Open a CSS file. You should receive auto completion and hover information for the CSS entities defined in
css.css-data.json.
