Carrot VSCode Extension
This is an editor for the tools in @collaborne/carrot-tools.
Installation
Installation from a release
- Open Visual Studio Code
- Press
Ctrl+Shift+P or Cmd+Shift+P and select "Extensions: Install from VSIX..."
- Select the downloaded VSIX file
Installation from source
- Open this in VS Code 1.46+
npm install
F5 to start debugging
WebView debugging
- Press
Ctrl + Shift + P (Win/Linux), Cmd + Shift + P (Mac) to open the command panel
- Search for the
Open Webview Developer Tools command
Usage
Open a .carrot-tool file
Press Ctrl+Shift+P or Cmd+Shift+P and select "Carrot: Create new Carrot Tool"
Development
Test locally
Build a release
npm run compile
npm run package
Install release into VScode (as explained above)
Publish a release
Get a Personal Access Token for the marketplace (doc). Note: if this doesn't work for a personal account, use account microsoft@nextapp.co.
Run npx vsce publish {major|minor|patch} --yarn
The --yarn is required to disable checks for peer dependencies, which right now fail due to the React ecosystem slowly moving to React 17.
Check progress in the VSCode publisher frontend
| |