AngularPad
A VS Code extension that provides a command launchpad for Angular, Nx, and Node.js projects. Run build, lint, test, and custom commands with a single click — and keep dependency versions in sync across every package.json in your workspace.
Features
- Predefined Commands for Angular, Nx, linting, formatting, and package management
- Custom Commands with persistent storage (global or project-specific)
- Workspace Scanning to discover and import scripts from package.json files
- Package Version Manager to find all package.json files by folder and update a dependency version across several of them at once, including scoped groups such as
@nx/*, with a diff preview before saving
- Nx Workspace Support with automatic project selection for targets
- Package Manager Integration (npm, yarn, pnpm) with proper command execution
- All commands run in a dedicated AngularPad Terminal
- Commands with input prompts (e.g.,
ng generate component) show input boxes
- Multi-language Support (English/German)
Predefined Commands
Angular
| Label |
Command |
| Serve |
ng serve |
| Build |
ng build |
| Build Prod |
ng build --configuration production |
| Test |
ng test |
| E2E |
ng e2e |
| Generate Component |
ng generate component <name> |
| Generate Service |
ng generate service <name> |
| Label |
Command |
| Lint |
ng lint |
| Lint --fix |
ng lint --fix |
| Prettier |
npx prettier --write . |
Package Manager
| Label |
Command |
| npm install |
npm install |
| npm update |
npm update |
| npm audit |
npm audit |
Nx Workspace Support
AngularPad automatically detects Nx workspaces and provides enhanced functionality:
- Project Selection: For Nx targets (build, lint, test, etc.), automatically prompts to select the target project
- Workspace Root Execution: Commands run from the correct workspace root directory
- Script Discovery: Scans all package.json files and imports scripts with proper Nx integration
Custom Commands
Add your own commands through the "Add Command" form with custom labels, icons, colors, and working directories. Commands can be stored globally (available in all workspaces) or locally (project-specific, automatically added to .gitignore).
Command Properties
- Label: Display name for the command
- Command: The actual command to execute
- Icon: Emoji icon (optional)
- Color: Visual category (Blue, Red, Yellow, Green, Purple)
- Working Directory: Custom execution directory (optional)
- Scope: Global or Local storage
Workspace Scanning
The "Workspace" tab scans all package.json files in your project and imports available scripts. For Nx workspaces, scripts are executed from the workspace root with proper project resolution.
Packages (Version Manager)
The "Packages" tab finds every package.json in the workspace (excluding node_modules) and lists their dependencies grouped by folder location (root, lib, etc.). It is built for keeping versions in sync across a monorepo or multi-project workspace:
- Scan Dependencies: lists all
dependencies, devDependencies, peerDependencies and optionalDependencies per folder, with a filter box.
- Version mismatch highlighting: a package used with different versions across files is flagged with ⚠, so inconsistencies are easy to spot.
- Edit across files: click ✏️ on any package to open a modal, set a new version, and choose (via checkboxes) which of the other
package.json files that contain the same package should be updated too — a search & replace across all of them.
- Edit package groups: for scoped packages such as
@nx/angular, @nx/js or @lis/*, use the group action to update all packages in the same scope together.
- Diff preview: before anything is written, a preview shows exactly which file changes from which version to which (old → new). Nothing is saved until you confirm.
- Install offer: after saving, a banner offers to run
install (npm/yarn/pnpm, matching your settings) in the AngularPad terminal.
Indentation (spaces or tabs), key order and trailing newline of each package.json are preserved, so changes stay minimal and git-friendly.
Settings
Configure AngularPad through the settings modal (⚙️ button):
- Language: English / German
- Workspace CLI: Angular CLI or Nx
- Package Manager: npm, yarn, or pnpm
Installation
From VS Code Marketplace
Search for "AngularPad" in the VS Code Extensions marketplace.
Development Installation
git clone https://github.com/GrischaTDev/angularpad
cd angularpad
npm install
npm run compile
Then in VS Code: F5 → Launch Extension Development Host.
Usage
- Open the AngularPad panel from the activity bar (lightning bolt icon)
- Click any predefined command to execute it
- Use "Add Command" to create custom commands
- Use "Scan Scripts" in the Workspace tab to import project scripts
- Use "Scan Dependencies" in the Packages tab to review and align package versions across all package.json files
- Configure settings via the ⚙️ button
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
License
MIT License - see LICENSE file for details.
Pakete installieren & VSIX bauen
npm install -g @vscode/vsce
vsce package