mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Cat Customs - Custom Editor API Samples
Demonstrates VS Code's custom editor API using two custom editors:
- Cat Scratch — A text based custom editor for
.cscratchfiles (which are just json files) - Paw Draw - A binary custom editor for
.pawdrawfiles (which are just jpeg files with a different file extension)
VS Code API
vscode module
Running the example
- Open this example in VS Code 1.44+
npm installnpm run watchornpm run compileF5to start debugging
Open the example files from the exampleFiles directory.