Files
vscode-extension-samples/custom-editor-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
..
💄
2021-07-07 10:35:51 -07:00
2024-10-26 17:44:03 -07:00
2024-10-26 17:44:03 -07:00
2020-07-28 15:48:13 -07:00

Cat Customs - Custom Editor API Samples

Paw draw editor

Demonstrates VS Code's custom editor API using two custom editors:

  • Cat Scratch — Uses the finalized custom text editor api to provide a custom editor for .cscratch files (which are just json files)
  • Paw Draw - Uses the binary custom editor api to provide a custom editor for .pawdraw files (which are just png files with a different file extension).

VS Code API

vscode module

Running the example

  • Open this example in VS Code 1.46+
  • npm install
  • npm run watch or npm run compile
  • F5 to start debugging

Open the example files from the exampleFiles directory.