mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Cat Customs - Custom Editor API Samples
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
.cscratchfiles (which are just json files) - Paw Draw - Uses the binary custom editor api to provide a custom editor for
.pawdrawfiles (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 installnpm run watchornpm run compileF5to start debugging
Open the example files from the exampleFiles directory.
