The available VS Code extension can be found under /extension
.
yarn
: install all packagesyarn build
: build the extension and webviewsyarn download:engine
: download and unpack the latest master engineyarn package
: package the extension as .vsix file
Make sure that all packages are installed, i.e. run yarn
. Building and packaging are not needed. Simply start the Run Extension
launch config, which will also activate the watch mode.
If you do not want to use the embedded engine as backend, you can define an alternative under VS Code Settings / Axon Ivy
. Simply uncheck Engine: Run By Extension
and set Engine: Url
you want to use.
Playwright tests can be executed against VSCode Insiders or openvscode-server
yarn test:playwright:download:vscode
: download latest VSCode Insidersyarn test:playwright
: run all tests against electron app
Build the openvscode-server docker image using the Dockerfile located under /build/integration/openvscode-server/server/Dockerfile
, e.g.:
docker build -t openvscodeserver -f build/integration/openvscode-server/server/Dockerfile .
.
Then run the container using
docker run -it --init -p 3000:3000 -p 8080:8080 -p 8081:8081 -p 8082:8082 openvscodeserver --disable-workspace-trust
Finally
yarn test:playwright:browser
: run all tests against openvscode-server in browser