Files
vscode-extension-samples/custom-editor-sample
Connor Peet f4e09a3b7b chore: update dependencies (#996)
- Update @vscode/test-electron due to some bugs
- Update @vscode/test-cli for modern goodness
- vscode-dts -> @vscode/dts off of the deprecated name
- @types/node to 18 to match VS Code itself
2024-04-02 01:29:31 +02:00
..
💄
2021-07-07 10:35:51 -07:00
2022-11-04 14:27:02 -07:00
2020-05-29 14:13:32 -07:00
2024-04-02 01:29:31 +02:00
2020-07-28 15:48:13 -07:00
2022-02-28 13:45:21 -08: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.