Implements idea https://github.com/zardoy/public-roadmap/issues/1#issuecomment-786667778
MIT License
Command:
Add npm Packages
@types
with any package managernpm i -D esbuild
Quickly select & remove packages with Remove npm Packages
command or code action on import statements.
By default, we prompt to run package manager install command on lockfile change (e.g. if package-lock.json
was changed after git switch). You can either disable this feature or make it run without confirmation with install.watchLockfiles
setting.
Select and start script command: Run npm Script
Start main script command: Run Main npm Script
Displays running npm script names in statusbar
and even more
These commands are already builtin into VSCode:
Tasks: Restart Running Task
- Shows QuickPick with all started tasks including NPM scripts. Press enter to restart.Tasks: Terminate Task
- Same as above, but enter instantly terminates and closes the taskTasks: Show Running Tasks
- Reveals panel with running tasksTasks: Rerun Last Task
- Useful to bind to some shortcutThere are commands to quickly select and open package on specific resource, such as its repository or its readme right within VSCode. Just go explore command by clicking contributes tab in VSCode!
PM – Package Manager.
By default, when project has no lockfile the first installed PM from your system will be used: pnpm
, yarn
, bun
or npm
Note that, npm.packageManager
setting (when not auto
) always takes precedence and forces to use specific PM in all cases.
Currently, extension is stable enough, but there some work before its get out of preview.
On v0.1.0 config will be probably changed.
These useful extensions have functionality, that this extension doesn't have:
This extension has already implemented a lot of great & unique features, but it was always suffering because of lack maintenance support. It still has a lot of ideas be to implemented in the feature, they are all easy to implement and I'd happy to transfer them!
src
Directory Structuresrc/commands-core
- command-related codesrc/core
general code, that can be used outside of vscode