Files
vscode-extension-samples/custom-data-sample
Matt Bierner 2ee6b0b7b9 Update all of our samples to target VSCode 1.100 or newer
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
2025-08-07 07:57:14 -07:00
..
2020-05-29 14:20:07 -07:00
2019-09-04 09:08:40 -07:00
2019-09-04 09:08:40 -07:00
2024-11-26 22:59:45 -08:00
2019-09-04 09:08:40 -07:00
2019-09-04 09:08:40 -07:00

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

demo

VS Code API

Contribution Points

Running the Sample

  • Run the Run Extension target 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.