Files
vscode-extension-samples/custom-editor-sample
Matt Bierner 3f794b7a5a Add workarounds for finalization of custom editor API
Will remove any casts once 1.46 ships
2020-06-04 15:21:38 -07:00
..
2020-05-29 14:20:07 -07:00
2020-04-30 18:17:53 -07:00
2020-05-29 14:13:32 -07:00
2020-04-30 18:20:38 -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 proposed binary custom editor api to provide a custom editor for .pawdraw files (which are just jpeg files with a different file extension). Note that this sample requires VS Code 1.45+

VS Code API

vscode module

Running the example

  • Open this example in VS Code 1.44+ (note that the custom binary editor requires VS Code 1.45+)
  • npm install
  • npm run watch or npm run compile
  • F5 to start debugging

Open the example files from the exampleFiles directory.