vscode-extension-sample-vite
Visual Studio Code extension sample using Vite as bundler instead of webpack (🤢)
Includes
- Hover support: hover over any word in a text file
- Settings: change command messages and enable/disable hover
- Commands: show messages based on settings
Publishing
- Go to Azure DevOps and create an Organization
- Go to https://dev.azure.com/{yourorganization}
- Go to Personal Access Tokens > New Token. On new token tab:
- Under Organizations, select All accessible organizations
- Under Scopes, select Custom defined, search for Marketplace and check Manage
- Click on create. Copy the token and add as a secret in GitHub with the name
PAT_TOKEN
- Go to your organization management
- Create a new publisher, which you'll be the same name as inside your
package.json > publisher field
- Change
package.json > publisher field to the same publisher
- Your extension will be automatically published by
.github/workflows/release.yaml if you push with tags, like:
git tag v<major.minor.patch-others>
git push -u origin main --tags
Learn more
Troubleshooting
To prevent d-bus warnings when running in WSL due to #2941, run
# If it's the first time running, run sudo
sudo scripts/run-dbus.sh
# Otherwise, just source it
source scripts/run-dbus.sh
This won't prevent GPU errors such dri3 extension not supported . Also, won't suppress warning when running test:hidden and test:insiders:hidden
License
Copyleft - All rights pวsษนวสวษน
Icons by Freepik - Flaticon
| |