DennisvHest / vscode-npm-browser

Easily search, install and keep track of NPM packages from within Visual Studio Code.
14 stars 5 forks source link

Use VSCode tasks or npm-programmatic to programmatically call npm (un)install #14

Closed DennisvHest closed 4 years ago

DennisvHest commented 4 years ago

! Now required because the terminal API is a proposed API cannot be used in a published extension.

The issue with using VSCode terminal API to call npm (un)install is that there is no good way to detect when (un)installation succeeded or failed.

Using VSCode tasks or npm-programmatic (if this works in a VSCode extension) might solve this issue.