- First, clone this repository and download our dependencies.
git clone https://github.com/eclipse/codewind-vscode && \
cd codewind-vscode && \
cd dev/ && \
npm ci
- In VS Code, open either
codewind.code-workspace
or thedev/
directory. - Create or identify a workspace for Codewind extension use. You can use an empty directory or a
.code-workspace
file. Add the path to theargs
array under theExtension
launch indev/.vscode/launch.json
. When VS Code launches in extension development mode, it uses this workspace.- When you edit
launch.json
, do not modify the--extensionDevelopmentPath
.
- When you edit
- Start the
Extension
launch inlaunch.json
by pressing F5. For more information, see Developing Extensions for more information.- This launches a terminal to incrementally compile the code in the background.
- You can build the extension
.vsix
yourself by runningnpm run package
which wrapsvsce package
fromdev/
. - See the tests README for instructions on running the tests.
- Clone the
codewind
repository. - Clone the
codewind-vscode
repo. - Run
codewind/script/build.sh
to run the Codewind build, or runcodewind/run.sh
to build and start Codewind. - Run the extension by following the instructions in Developing Codewind for VS Code.