You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the MongoDB VSCode plugin requires [Node.js](https://nodejs.org) and npm.
27
+
Running the MongoDB VSCode plugin requires [Node.js](https://nodejs.org) and pnpm.
28
28
29
29
1. Clone this project, navigate to the folder, then run:
30
30
31
31
```shell
32
-
npm install
33
-
npm run watch
32
+
pnpm install
33
+
pnpm run watch
34
34
```
35
35
36
36
2. Inside of [VS Code Insiders](https://code.visualstudio.com/insiders/) open this directory and press `F5` to begin debugging the extension. This should launch a new VSCode window which is running the extension.
@@ -46,14 +46,14 @@ You can launch a debugging task for tests inside VSCode with the **"Run Tests"**
46
46
You can run tests using command line along with an optional `MOCHA_GREP` environment variable to apply a grep filter on tests to run.
It may be quicker to be more specific and use `npm run test-extension` or `npm run test-webview` after compiling.
52
+
It may be quicker to be more specific and use `pnpm run test-extension` or `pnpm run test-webview` after compiling.
53
53
54
54
### Using Proposed API
55
55
56
-
The vscode extension will occasionally need to use [proposed API](https://code.visualstudio.com/api/advanced-topics/using-proposed-api) that haven't been promoted to stable yet. To enable an API proposal, add it to the `enabledApiProposals` section in `package.json`, then run `cd src/vscode-dts && npx @vscode/dts dev` to install the type definitions for the API you want to enable.
56
+
The vscode extension will occasionally need to use [proposed API](https://code.visualstudio.com/api/advanced-topics/using-proposed-api) that haven't been promoted to stable yet. To enable an API proposal, add it to the `enabledApiProposals` section in `package.json`, then run `cd src/vscode-dts && pnpm exec @vscode/dts dev` to install the type definitions for the API you want to enable.
57
57
58
58
**Note**: Using proposed API is only possible during local development and will prevent publishing the extension.
0 commit comments