Files
vscode-extension-samples/virtual-document-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
..
2019-04-16 09:59:21 -07:00
2022-11-04 14:27:02 -07:00
2018-11-16 12:16:23 +01:00
2018-11-16 12:16:23 +01:00
2024-11-26 22:59:45 -08:00
2021-02-22 09:58:22 -08:00

Virtual Document Sample

This is a sample extension that shows how to add virtual documents to the editor.

cowsay

VS Code API

vscode module

Running the Sample

  • Run npm install in terminal to install dependencies
  • Run the Launch Extension target in the Debug View. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window