- 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-workspaceor thedev/directory. - Create or identify a workspace for Codewind extension use. You can use an empty directory or a
.code-workspacefile. Add the path to theargsarray under theExtensionlaunch 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
Extensionlaunch inlaunch.jsonby 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
.vsixyourself by runningnpm run packagewhich wrapsvsce packagefromdev/. - See the tests README for instructions on running the tests.
- Clone the
codewindrepository. - Clone the
codewind-vscoderepo. - Run
codewind/script/build.shto run the Codewind build, or runcodewind/run.shto build and start Codewind. - Run the extension by following the instructions in Developing Codewind for VS Code.