- After cloning the repo, open a terminal in the project directory.
- Run
npm installto install the necessary dependencies. - To run the extension in a development environment, press
F5in VSCode, or click on the "Run and Debug" icon (resembles a beetle under the play icon) on the left sidebar. Then, click on the green play icon to start.
- To run all the tests, run
npm run test. - To run a specific test file, run
npm run test:file -- out/test/<path-to-the-test.js>
- Publish the extension by following the instructions in the official website.
Install the published extension (.vsix file) by following the instructions in the official website.
Alternatively:
- Open VS Code.
- Go to the Extensions view by clicking on the square icon on the sidebar or pressing
Ctrl+Shift+X. - Click on the "..." menu at the top of the Extensions view and select "Install from VSIX...".
- Navigate to the
.vsixfile, select it, and click "Open".