Files
vscode-extension-samples/custom-editor-sample
Matt Bierner 9f7d72d637 Update paw draw example to show how to create untitled files
Fixes https://github.com/microsoft/vscode/issues/100238

This is not well supported at the moment since we need some new APIs for working with untitled custom editors, how the current example shows how it can be implemented
2020-07-23 21:14:23 -07:00
..
2020-05-29 14:20:07 -07:00
2020-05-29 14:13:32 -07:00
2020-06-11 13:40:09 -07:00
2020-05-06 12:14:11 -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 jpeg 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.