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
.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.
vscode 发布流程
1、vsce ls-publishers
2、vsce login laniusdady
https://dev.azure.com/vartist/_usersSettings/tokens
重新获取 Person Access Tokens
3、修改 package.json 中的版本号
4、vsce package
5、vsce publish
| |