All kinds of contributions for improving the Kusion experience on VS Code are welcomed.
This guide will explain the process to set up your development environment to work on the VS Code Kusion extension.
git clone https://github.com/KusionStack/vscode-kusion.git
cd vscode-kusion
npm install
code .
To run the extension, open the project with VS Code and open the Run view (Command+Shift+D), select Run Extension, and press F5. This will compile and run the extension in a new Extension Development Host window, in which you can create a Konfig project and add some .k files to play with.
-
You can compile the project by executing the following command:
npm run compile
-
To publish the extension to the VS Code extension market, you need to first build an extension package and then publish it:
vsce package --baseImagesUrl https://github.com/KusionStack/vscode-kusion.git vsce publish --baseImagesUrl https://github.com/KusionStack/vscode-kusion.git