npm installThe repository comes with an .env.local file configured to work locally.
Feel free to check it out, and make a copy to .env in order to customize.
cp .env.local .envA VSIX file is a packaged extension for Visual Studio Code. It contains all the files and metadata needed to install and run the extension.
The VSIX file is need to install the extension manually or distribute it to others.
To update the extension after making code changes, you need to regenerate the VSIX file. Run the following command in your project directory:
make vsixThis will build a new .vsix file in the directory (localstack-x.x.1.vsix).
While installing from a VSIX file is common for local development or sharing, you can also run and test the extension directly in VSCode without packaging it.
To do this, open the extension project in VSCode and press F5 to launch a new Extension Development Host window.
To install the generated VSIX file in Visual Studio Code:
- Open the Extensions view (
Cmd+Shift+Xon macOS,Ctrl+Shift+Xon Windows/Linux) in VSCode. - Click the three-dot menu in the top right.
- Select Install from VSIX....
- Choose the
.vsixfile.
To release a new version of the extension, you need to:
- Create a branch using the new version as the name (e.g.
v1.3.0) - Update the version in
package.jsonand runnpm install - Update the
CHANGELOG.mdfile - Push the branch to GitHub
- Create a pull request in GitHub
- While the pull request is open, execute the
Publish Extensionworkflow targetting the new branch