- VS Code 1.78.0+.
- Open this directory in VS Code
- Select the
Run->Start Debuggingmenu option (or press F5).
- Run
yarn run packagein the current directory (where this file lives). - The resulting
oso.vsixfile can be installed into any VS Code instance via:code --install-extension oso.vsix.
-
Bump the
versioninpackage.json. -
Make sure the
osohq/polar-grammarsubmodule is updated:git submodule update --remote. -
Make sure the PR is merged into
mainand you've pulled down the latest formainafter merging. -
Download oso.vsix from GitHub:
- Navigate to the [Actions][https://github.com/osohq/oso-vscode-extension/actions] tab.
- In the sidebar, select "Release VSCode Extension" from the list of workflows.
- Click on the most recent workflow run that you created.
- Scroll down to the Artifacts section and download
oso_vscode_extension.zipwhich containsoso.vsix. - Move
oso.vsixto theoso-vscode-extensiondirectory.
-
Run
yarn(if you haven't already done so in this project). -
Login to Visual Studio Marketplace (the PAT is in 1Password: VSCode publish api key):
yarn vsce login osohq
- Run
yarn run publish.
-
Run
export PAT={the PAT is in 1Password: Open VSX}. -
Publish to the Open VSX Registry:
yarn ovsx publish -p ${PAT} oso.vsix