
A VS Code extension that puts the everyday commands of Git, Node.js, Python, Go, Rust, Flutter and Docker, plus a set of text, network and system utilities, one click away. More than 600 commands are available from a single activity bar panel and from the Command Palette, and every one of them works on Windows, macOS and Linux, in PowerShell, cmd, bash / zsh and fish.
Designed for personal use to streamline coding workflows.
Contents
Overview
| View |
What it covers |
| Git |
Several Git accounts on one computer, commit / pull / push, branches, history, stash, tags, worktrees, patches, LFS, global config, fixup / autosquash, commit signing, sparse checkout, GitHub CLI (pull requests, workflow runs) |
| Node-Js |
npm / pnpm / yarn / bun aware scripts and dependencies, linting and tests, publishing, a full pnpm toolbox, NVM, Sequelize, Prisma, Drizzle, TypeORM and Knex migrations, debugging and profiling, TypeScript setup |
| Python |
Virtual environments, pip, pytest / ruff / mypy / pyright, security audits, profiling, Django, uvicorn / Flask, Alembic migrations, Poetry, pipenv and a full uv toolbox |
| GO |
Run, build and cross-compile, tests, benchmarks and fuzzing, pprof profiling, linters, modules, go work, database migrations (goose, golang-migrate, Atlas, sqlc), tools |
| Rust |
Install and update Rust (rustup), toolchains, components and targets, cargo run / build / test, clippy and fmt, dependencies, sqlx migrations, flame graphs and binary analysis, publishing, WebAssembly |
| Flutter |
Run on devices and emulators (flavors, define files), pub packages, builds for every platform, tests, code generation, native project helpers, FVM and Melos |
| Docker |
Compose stacks (profiles, watch), database shells and dumps of a Compose service, images (multi-platform builds, vulnerability scan, layer explorer), containers, volumes (with backup and restore), networks, system clean-up |
| Kubernetes |
Contexts and namespaces, workloads (logs, shell, port-forward, rollouts, scale), manifests (dry run, diff, apply), Kustomize, Helm releases and charts |
| Terraform |
Terraform or OpenTofu: init, plan, apply, destroy, checks, state and workspaces |
| Scripts |
Shell, PowerShell and batch scripts run the right way per platform, Makefile and just targets, GitHub Actions and pre-commit helpers |
| Utils |
Text and line tools, converters (JSON / YAML, types from JSON, cron, colours), random values and sortable IDs, network diagnostics (TLS certificates, HTTP timing, SSH tunnels, gRPC, load tests), security scans, tunnels, Chrome without CORS |
On top of the views: a status bar with the Node.js version, Python environment and Git account, right-click menus in the Explorer and the editor, keyboard shortcuts and a large set of code snippets.
Getting started
Install from the VS Code Marketplace.
- Activity bar: the extension adds one OMS icon. Click it to see every section (Git, Utils, Scripts, Flutter, Node-Js, Python, GO, Rust, Docker, Kubernetes, Terraform) in a single panel. Expand a group and click an item to run it.
- Command Palette: press
Ctrl+Shift+P (Cmd+Shift+P on macOS) and type oms:. Every command of every view is listed there.
- Explorer context menu: right-click a file or folder in the Explorer (or an editor tab) and open the OMS submenu. It shows the tools that fit what you clicked, see Right-click menus.
- Editor context menu: right-click in the editor and open the OMS submenu for the tools of the open file, plus Insert (UUID, numbers, string, password, hex key, color, timestamp, date, lorem ipsum), Text (case, slug, Base64, URL, HTML, JSON, JSON / YAML, types from JSON, JWT, timestamp, cron, number base, colour, hash, statistics) and Lines (sort, de-duplicate, remove empty, reverse, trim). The text tools work on the selection, or on the current line when nothing is selected.
- View title buttons: every section has Open OMS settings and Re-detect installed tools in its title bar.
Each section has its own monochrome icon that blends the OMS paint-splat mark with the technology's glyph. To pin a section as its own activity bar icon, drag the view's header (for example Git) onto the activity bar; moving the last view out of the generated container removes it again. To bind a keyboard shortcut to a section, run Preferences: Open Keyboard Shortcuts and search for oms-vs-git.focus, oms-vs-nodejs.focus, oms-vs-rust.focus and so on.
The extension activates when the workspace contains a package.json, pubspec.yaml, go.mod, Cargo.toml, pyproject.toml, requirements.txt, a compose file or a Git repository, or as soon as one of its views or commands is used.
How commands run
- Nothing runs invisibly. Commands are typed into a shared terminal (OMS Terminal, name configurable) so you can see and re-run them, and every command, including the silent ones used to fill pickers, is written to the OMS output channel (Utils > Extension > Show command log).
- Long-running commands (most dev servers, log followers, watchers, tunnels and interactive shells) open in their own terminal so they do not block the shared one.
- Cross-platform: command lines are quoted and chained for the shell of your terminal (PowerShell, cmd, bash / zsh, fish, Git Bash), and installers use the right method for the operating system.
- Multi-root workspaces: commands run in the folder of the active editor, or ask which folder to use.
- Destructive actions ask first: deleting, pruning, force pushing, hard resets, publishing and similar actions show a confirmation.
- Recent choices first: build targets, devices, branches, scripts, containers and similar picks you used recently are listed first (per workspace; can be disabled).
- Missing tools: when Flutter, Go, Rust, Node.js, Python, Git, Docker, kubectl / Helm or Terraform / OpenTofu is not installed, its view shows install links (and an install button where the extension can install it) instead of commands that would fail. "Show commands anyway" and "Re-detect tools" are available there. Commands that need an optional tool (golangci-lint, cargo-watch, Poetry, uv, pnpm, gh, gitleaks, trivy, hyperfine...) offer the installers that exist on your machine first (winget on Windows, Homebrew on macOS and Linux,
go install, cargo install, uv tool install / pipx) plus the tool's install page.
- Custom command: every tool view has a "Run custom ... command" item for anything that is not in the list; most of them remember the arguments you used before.
Features
The bold names below are the groups you see in each view.
Git
- Accounts and SSH, Tokens & Credentials: keep a work and a personal GitHub / GitLab / Bitbucket / self-hosted account side by side. Add, edit, list and remove accounts; bind folders to an account so every repository inside commits as it; assign a single repository; set a default account; clone with an account; generate an SSH key, copy the public key, test the SSH connection; store, update and test a personal access token; rewrite a remote URL for an account; set up the credential helper, forget saved credentials; a doctor that checks the whole setup; open the global
.gitconfig and ~/.ssh/config. Full guide in Git accounts.
- Sync & Commit: status, stage all and commit, commit staged, pull (default, rebase or fast-forward only), push (sets the upstream on the first push), force push with lease, init a repository.
- Branch: switch (recently used first, local and remote), create with a configurable prefix (
feature/, bugfix/, hotfix/...), publish, merge, rebase, rename, list, prune merged branches, delete (locally and on origin).
- Commits: log graph, show a commit, history of the current file, search the history (commit messages, added / removed code, author), amend, undo the last commit keeping the changes, reset to a commit (soft / mixed / hard), squash the last N commits, fixup commit (the staged changes belong to an older commit) and autosquash (fold every
fixup! commit into its target without opening an editor), cherry-pick from another branch, revert, bisect, unpushed commits, range-diff (compare two versions of a branch, e.g. before and after a rebase), reflog, copy the current commit hash, contributors.
- Changes: export uncommitted changes (staged or unstaged) or the diff against another branch as a patch file, apply a patch, diff staged, stage / unstage all, discard changes in selected files or everywhere, clean untracked and ignored files with a preview, list conflicted files, continue or abort a merge / rebase / cherry-pick / revert.
- Stash: stash staged, unstaged or all changes with a message; take, apply (keep), list, show and drop stashes; turn a stash into a new branch.
- Origin: pull all and fetch tags, fetch and prune, open the remote in the browser, list / add / change / remove the origin remote, pull a branch with rebase ("pull fix"), update submodules, add a submodule, submodule status.
- Tags: list, tag and publish, push all tags, check out a tag, delete (locally and on origin).
- Worktrees: list, add (optionally opening the new one in a new window), remove, prune.
- Files: archive HEAD as a zip, remove a file from Git without deleting it locally, generate a
.gitignore from the GitHub templates, Git LFS install / track a pattern / list files, repository size, optimize the repository (git gc).
- GitHub (gh): create a pull request (filled in from the commits, as a draft, or in the browser), check out a pull request picked from the open ones, open it in the browser, pull request status, watch the checks of the current branch, list and watch workflow runs, print the log of the failed steps of a run, open the repository in the browser. Uses the GitHub CLI.
- Advanced: blame the current file ignoring whitespace and moved lines (
-w -C -C), search tracked files (git grep), the largest files in the whole history (what makes clones slow, also after a file was deleted), sign commits and tags with an SSH or GPG key (per repository or globally) and show the signatures of the last commits, remember conflict resolutions (rerere), sparse checkout (choose folders, list, disable).
- Global Config: show and set the global user name and email, list the whole config with its origin, default branch name, line ending conversion (
core.autocrlf), pull mode (merge / rebase / fast-forward only), run a custom git command.
Patch and archive files are written to dist/<project-name>/ inside the workspace (configurable with oms-vs.git.patchOutputDir). Step-by-step examples are in Git workflows.
Node.js
Every command in this view is package-manager aware: npm, pnpm, yarn or bun is detected from the packageManager field of package.json or from the lockfile, and the matching command line is built for it (override with oms-vs.packageManager).
- Project: run a
package.json script (recently used first), run a package binary once (npx / dlx / bunx), install, clean install from the lockfile, delete node_modules and reinstall, format with Prettier, create a package.json, generate .env.example from .env (keys and comments kept, every value removed, including multi-line ones), show the detected package manager, run a custom package manager command.
- Dependencies: add (dependencies or devDependencies) and remove packages, update all dependencies of a group to latest, interactive update check (npm-check-updates), outdated, list installed, why a package is installed, package info from the registry, dedupe, unused dependencies (depcheck), clean the cache, a starter set for Express projects (express, dotenv, jsonwebtoken, cors, moment) and express-fileupload.
- Quality: run tests, ESLint and ESLint with fix, type check (
tsc --noEmit), audit and audit fix, ESLint flat-config setup (TypeScript aware), Prettier setup, test runner setup (Vitest, Jest, Jest + TypeScript, node:test).
- Registry & global: bump the version (patch / minor / major), pack a tarball, publish dry run, publish, registry login, whoami, install and list global packages.
- pnpm: a dedicated toolbox that always runs
pnpm, whatever package manager was detected:
- Packages: install variants (frozen lockfile, production, offline, fix lockfile...), add, remove, update (interactive, latest, recursive), dedupe, prune, rebuild, approve or list blocked build scripts, import an npm or yarn lockfile, fetch into the store.
- Run: run a script,
pnpm exec, pnpm dlx, pnpm create.
- Inspect: list, outdated, why, audit, licenses.
- Workspace (monorepo): create
pnpm-workspace.yaml, list packages, run a script in one or all packages, add a dependency to a package, run any command with --filter, deploy a package.
- Patches & links: patch, commit and remove patches; link and unlink local packages.
- Publish: pack, publish.
- Global packages: install, list, update, remove.
- Disk usage & cache: size of every installed package (largest first), size of the store and the metadata cache, prune the store, check store integrity, store and cache paths, list / view / delete the metadata cache.
- Config: list, get, set, delete.
- Setup: install or update pnpm (standalone installer, npm, Corepack, Homebrew, winget, self-update), show the version, pin the
packageManager version, pnpm setup for the global bin PATH, doctor, custom command.
- NVM: install or update NVM (nvm-windows on Windows, nvm-sh on macOS and Linux), install, use, list installed and available Node.js versions, set the default, show the current version, uninstall, run a custom NVM command, and enable / disable NVM on Windows.
- Database: sequelize-cli migrate, undo the last migration, migration status, run all seeders, generate a model (with attributes) or a migration.
- Prisma: generate the client, migrate dev (new migration), migrate deploy, migration status, db push, db pull (introspect), validate and format the schema, seed, reset the development database, Prisma Studio.
- Drizzle, TypeORM, Knex: Drizzle generate / migrate / push / check / studio; TypeORM run, show, generate and revert migrations (the data source file is asked once per project; TypeScript projects run through
typeorm-ts-node-commonjs); Knex migrate latest, status, new migration, roll back, run seeds. Each uses the CLI installed in the project.
- Debug & profile: start the current file paused for the debugger (
--inspect-brk), write a CPU profile or a heap profile of it (--cpu-prof, --heap-prof), find unused files, exports and dependencies (knip).
- TS: add TypeScript and ts-node, create a
tsconfig.json.
- More: update
@vscode/vsce and package a VS Code extension.
Python
Commands that use python run inside the workspace virtual environment when one exists (it is activated first, with the right script for PowerShell, cmd, bash / zsh or fish); otherwise the interpreter found on PATH is used.
- Virtual Environment: create (choosing the interpreter when several are installed), activate and delete a virtual environment; show the interpreter version, path and prefix.
- Run: run the current file, serve the folder with
http.server, run a custom python command.
- pip (venv): install a requirements file, install and uninstall packages, editable install of the project, freeze to
requirements.txt, list, list outdated, show a package, check for broken requirements, upgrade pip.
- Quality:
ruff check --fix, ruff format, pytest (everything, the current file, by keyword, last failed, with coverage), mypy, pyright, dependency vulnerabilities (pip-audit), security lint (bandit), tox, nox.
- Profiling: cProfile of the current file sorted by cumulative time, a flame graph of it with py-spy (
profile.svg), a stack dump of a running or hung process by PID.
- Django: runserver, makemigrations, migrate, showmigrations, sqlmigrate (the SQL of one migration), migrate an app to a chosen migration or
zero, createsuperuser, shell, dbshell, startapp, test, check --deploy and any other manage.py command.
- Web servers: run an ASGI app with uvicorn and reload (FastAPI, Starlette...),
flask run --debug.
- DB migrations (Alembic): new revision (autogenerate or empty), check for pending model changes, upgrade to head or to a chosen revision, print the upgrade SQL without running it, downgrade one revision or to a chosen one (confirmed first), current revision of the database, history, heads, branches, show a revision, merge heads, stamp the database,
alembic init with a template (generic, async, pyproject, multidb) and any other alembic command. When the folder has no alembic.ini the command offers to set Alembic up.
- Poetry: install, add (main or dev group), remove, update, lock, dependency tree, run a command, env info, build, publish.
- pipenv: install, install and uninstall packages, lock, dependency graph, run a command, shell, remove the environment.
- uv: a full toolbox for uv:
- Project: init, add (also as dev dependency), remove, sync, lock, upgrade all, dependency tree, run a command, format, check, audit, build, publish, show and bump the version, export
requirements.txt.
- Python versions: install, list, pin, find, upgrade, uninstall, show the install directory, update the shell PATH.
- Packages (pip): install, uninstall, list, freeze, show, dependency tree, check, compile
requirements.in, sync requirements.txt.
- Tools (pipx): install, run (uvx), list, upgrade, uninstall, show the tool directory, update the shell PATH.
- Environment: create a virtual environment with uv, activate, delete.
- Maintenance: install or update uv, show the version, cache directory, cache size, clean and prune the cache, custom command.
Poetry, pipenv and uv are installed on request when they are missing.
Go
- Project: run (detects
main.go and cmd/* entry points, or uses oms-vs.go.runEntry), run with live reload (air), create a Gin web project, build for any GOOS/GOARCH (environment variables set with the syntax of your shell; a default target can be configured), a stripped release build into bin/, go generate, format, fix imports (goimports).
- Tests: all packages, the package of the current file, tests by name, coverage with the HTML report, race detector, benchmarks, repeat a test N times to find flaky ones, fuzz a
FuzzXxx test for a chosen time.
- Quality:
go vet, golangci-lint, staticcheck, govulncheck (each offers to install the tool).
- Modules:
go mod init, add (go get) and remove dependencies, list available updates, upgrade, tidy, download, vendor, why a module is needed, module graph, verify.
- Workspace (go.work): init, add a module, sync.
- Database: goose (status, up, down, redo, new migration; the database comes from
GOOSE_DRIVER / GOOSE_DBSTRING), golang-migrate (up, down one, version, new migration; the URL is passed as a reference to an environment variable such as DATABASE_URL, never typed), Atlas (status, generate a migration from the schema diff, lint, apply for an --env of atlas.hcl), sqlc generate. The migrations folder is asked once per project.
- Profiling: benchmarks that write
cpu.prof and mem.prof, open a profile in the pprof web UI (flame graph, call graph, source), profile a running service through net/http/pprof (CPU, heap, allocations, goroutines, blocking, mutex), escape analysis and inlining decisions (-gcflags -m).
- Tools:
go install a common tool (gopls, golangci-lint, air, delve, staticcheck, govulncheck, swag, goose) or any module path, go doc, clean the build / module / test / fuzz caches, go env, go version, run a custom go command.
Rust
- Setup: install Rust through rustup (official installer, or winget on Windows; default or customized), update every toolchain, check for updates, update rustup itself, install the C/C++ build tools Rust needs for linking (Visual Studio Build Tools on Windows, Xcode command line tools on macOS, the compiler packages of Debian / Fedora / Arch / openSUSE / Alpine), show the rustc / cargo / rustup versions, open the offline docs (std, the book, Rust by Example, the Cargo book, the reference), explain a compiler error code, run a custom
rustup command, uninstall Rust.
- Project: run (asks which binary or example only when there are several; debug, release, or with arguments), watch and re-run on change, check, build, release build, cross-compile for an installed target, clean, size of the
target folder, cargo new, cargo init, install the current binary, run a custom cargo command.
- Tests: all tests, by name, with output, doc tests, nextest, an HTML coverage report (cargo-llvm-cov), benchmarks.
- Quality:
cargo fmt and format check, clippy (normal, warnings as errors, fix), security audit (cargo-audit), unused dependencies (cargo-machete), macro expansion (cargo-expand), build and open the docs.
- Dependencies: add (normal / dev / build, with features), remove (picked from
Cargo.toml), update, outdated, dependency tree, duplicate versions, why a crate is included, search crates.io, fetch, vendor.
- Database (sqlx): run migrations, migration status, new migration (reversible or simple), revert the last one, create the database, prepare the offline query data for builds without a database. Uses
sqlx-cli and DATABASE_URL from the environment or .env.
- Profiling & analysis: flame graph (cargo-flamegraph), build timings report, what makes the binary big (cargo-bloat), undefined behaviour check (miri, nightly), licenses / bans / advisories (cargo-deny), API compatibility with the published version (cargo-semver-checks).
- Publish: list the packaged files, publish dry run, publish, crates.io login.
- Toolchains: show the active toolchain, list, install (stable, beta, nightly or a version), set the default, use a toolchain in one folder (override) and remove the override, pin with
rust-toolchain.toml, uninstall.
- Components & targets: add, list and remove components (clippy, rustfmt, rust-analyzer, rust-src, rust-docs, llvm-tools, miri) and compilation targets (wasm, musl, ARM, Windows, macOS, Android, iOS...).
- Cargo tools:
cargo install from a list of common tools (cargo-binstall, cargo-watch, bacon, cargo-nextest, cargo-audit, cargo-deny, cross, sccache, just, tauri-cli, sqlx-cli, diesel_cli...) or any crate, list, update all, uninstall.
- WebAssembly:
wasm-pack build (web, bundler or Node.js target), trunk serve.
Commands offer to install Rust when it is missing, and commands that need a cargo plugin offer to install the plugin. A fresh rustup install is found in ~/.cargo/bin (or CARGO_HOME) even before VS Code is restarted.
Flutter
- Run & Info: run on a device picked from
flutter devices (debug, profile or release), run on the web server (also WebAssembly), run a flavor (with lib/main_<flavor>.dart when it exists), run with a --dart-define-from-file file, open DevTools, list devices, launch an emulator, install on a device, follow device logs, create a project (app, package, plugin or module), doctor, version.
- Packages: pub get, add (also as dev dependency), remove, upgrade, upgrade across major versions, outdated, dependency tree, repair and clean the pub cache.
- flutter Build: release APK, split APKs per ABI, app bundle, iOS and ipa (macOS), desktop for the host OS, web (JavaScript or WebAssembly), a build with options (target, mode, flavor, extra flags such as
--dart-define or --obfuscate), an obfuscated release with the debug symbols split into build/symbols, APK size analysis.
- Quality: analyze, test (all, the current file, with coverage, the integration tests), fix and format the code, preview fixes (
dart fix --dry-run).
- Code generation:
build_runner (arguments configurable) and build_runner watch, gen-l10n, launcher icons, native splash screen.
- Native (iOS / Android):
pod install in ios/, gradlew clean in android/.
- FVM & Melos: use a Flutter version in this project (
.fvmrc), install and list versions with FVM; bootstrap, run a script and list the packages of a Melos monorepo.
- Maintenance: clean, upgrade the SDK, switch channel (stable, beta, main), repair the project (
flutter clean + flutter create .), run a custom flutter command.
- Publish: pub.dev publish dry run.
Docker
- Compose: up (detached, optionally rebuilding), stop and start, down (optionally removing volumes), follow logs, status, processes, pull, restart, build, validate and show the merged config, up with selected profiles,
watch (sync or rebuild on file changes), and per-service logs, shell, restart and rebuild (services are read from the compose file). The compose executable is configurable (docker compose or docker-compose).
Compose files are discovered anywhere in the workspace folder (any name containing compose, e.g. docker-compose.prod.yml or deploy/compose.yaml; glob configurable with oms-vs.docker.composeFilePattern). When several exist you pick one or more (merged in the listed order, last selection pre-selected) or browse for others; files outside the root or with custom names are passed with -f, and *.override.yml files are merged automatically.
- Database of a service: for a service of the compose file, with the client inside its container (nothing to install, no port to publish): PostgreSQL shell (
psql), dump to a .sql file and restore from one; MySQL / MariaDB shell and dump; Redis shell; MongoDB shell. Dumps are written inside the container and copied out, so they are not re-encoded by the terminal.
- Images: build with a tag and Dockerfile, build a multi-platform image with buildx (amd64 / arm64 / arm v7, pushed or loaded), run (interactive or detached, with published ports and extra options), list, pull, push, tag, inspect, layer history, explore the layers with dive, scan for vulnerabilities (Trivy or Docker Scout), save to and load from a tar file, remove, prune (dangling or all unused).
- Containers: list running or all, live stats, follow logs, open a shell, run a command, start, stop, restart, kill, stop all running, inspect, processes, port mappings, copy files from and to a container, remove selected containers, remove all stopped ones.
- Volumes: list, create, inspect, browse the files in a shell, back up to a
.tar.gz, restore from an archive (both through a temporary alpine container), remove, prune.
- Networks: list, create (driver and optional subnet), inspect, connect and disconnect a container, remove, prune.
- System: disk usage, system prune (three levels), build cache prune, list buildx builders and create a multi-platform one, switch Docker context, registry login and logout, info, version, run a custom
docker command.
Kubernetes
Uses kubectl and helm with your kubeconfig. Pick lists (contexts, namespaces, pods, releases) are read from the cluster when you start a command; nothing is queried in the background. Every command that changes the cluster names the current context in its confirmation.
- Cluster: switch context, switch the default namespace, list contexts, cluster info, nodes, node usage, events (newest last), API resources, explain a resource or field.
- Workloads: list a kind of resource (current or all namespaces), list everything, describe, show as YAML, follow pod logs, logs of the previous (crashed) container, open a shell or run a command in a pod, port-forward to a service / pod / deployment, pod usage, decode a secret (read silently and shown in an editor, never typed or logged), delete a resource.
- Rollouts: status, history, rolling restart, undo, scale (deployments, statefulsets, daemonsets).
- Manifests: for the current
.yaml file: server-side dry run, diff against the cluster, apply, delete its resources; for a folder with kustomization.yaml: render and apply.
- Helm releases: list, status, history, values, roll back, uninstall; add, update and search repositories.
- Helm chart: for the folder with
Chart.yaml: lint, render the templates, upgrade / install (or a dry run) with an optional values-*.yaml, update dependencies, package.
- Setup: install kubectl or Helm, run a custom
kubectl / helm command.
Runs terraform, or tofu (OpenTofu) when only that is installed; choose explicitly with oms-vs.terraform.binary. Started on a .tfvars file, plan / apply / destroy pass it with -var-file.
- Plan & apply: init (also with provider upgrade), plan, plan to a file (
tfplan), apply, apply the saved plan, replace one resource, refresh the state only, destroy, outputs, console. Apply and destroy are never auto-approved: Terraform shows the plan and asks.
- Checks: validate, format (recursive), check formatting, run tests, providers, dependency graph, show the state or a plan.
- State: list, show a resource, move (rename), import an existing resource, remove from the state, force unlock.
- Workspaces: list, switch, new, delete.
- Setup: install Terraform or OpenTofu, version, run a custom command.
Scripts
Finds the script files of the workspace (.sh, .bash, .zsh, .ksh, .fish, .ps1, and .bat / .cmd on Windows) and runs them the right way for your platform and terminal. The list updates as scripts are added or removed; clicking a script opens it, the inline play button runs it, and the same commands are in the Explorer context menu and the editor title of a script file.
| Script |
Windows (PowerShell or cmd) |
Windows (Git Bash terminal) |
macOS / Linux |
.sh and other shell scripts |
Git Bash's bash.exe, found automatically, otherwise WSL |
bash script.sh |
the interpreter of the shebang, otherwise bash |
.ps1 |
pwsh or powershell -ExecutionPolicy Bypass -File |
same |
pwsh (the extension offers to install it) |
.bat / .cmd |
called directly |
./script.bat |
not listed |
A script never needs the execute bit or a ./ prefix, because it is always passed to its interpreter.
- Workspace scripts: every script found, nearest to the root first. Right-click for all run and check commands.
- Run: run a script, with arguments (the last ones are remembered), the current file (anything with a shebang, plus
.py, .js, .rb, .pl, .php, .lua), rerun the last script, in a new terminal for long-running scripts, with the variables of a .env file, with sudo (macOS / Linux), copy the run command, open a script.
- Check & fix: debug trace (
-x), syntax check (-n), lint with ShellCheck, format with shfmt (diff or rewrite), convert CRLF line endings to LF, make executable (chmod +x, and the execute bit in the Git index, which is the only place it exists on Windows). Running a shell script that has CRLF line endings offers to convert it first, since it would fail with \r: command not found.
- Create & set up: new script from a template (Bash, POSIX sh, Zsh, Fish, PowerShell, Batch), add line-ending rules for scripts to
.gitattributes, a doctor that shows what was detected and how each kind of script is started, refresh the list.
- Task runners: run a Makefile target or a just recipe, picked from the parsed file with its description.
- CI & hooks: lint the GitHub workflows (actionlint), list the workflow jobs and run them locally with act (needs Docker), install the pre-commit hooks, run them on all files, update their versions.
ShellCheck, shfmt, make, just, PowerShell 7 and Git for Windows are offered for install (winget or Scoop, Homebrew, apt / dnf / pacman) when a command needs one that is missing.
Utils
Text tools work on every selection (multi-cursor included); with no selection they use the current line, and the line tools use the whole document.
- Tools: launch Chrome without CORS restrictions for testing (separate profile; Chrome path configurable), kill the process listening on a port, open the workspace folder in the system terminal, show system info, show the
PATH entries, checksum of a file (sha256 / sha512 / sha1 / md5, with a check against a published value), compare the variable names of two .env files (values are never shown), benchmark one command or two against each other (hyperfine).
- Network: show and copy the local or public IP, DNS lookup, list listening ports, serve a folder over HTTP, open the hosts file, flush the DNS cache, inspect a TLS certificate (days until expiry, trust, the whole chain, names), time one HTTP request phase by phase (DNS, connect, TLS, first byte, download) with the response headers, connect to an SSH host or tunnel a port through one (hosts read from
~/.ssh/config), list or describe the services of a gRPC server (grpcurl), load test a URL (oha; asks before testing a host that is not local).
- Security: secrets in the Git history or in the files (gitleaks, redacted output), vulnerabilities / secrets / misconfiguration of the folder (trivy), IaC misconfiguration (trivy config), dependency vulnerabilities across ecosystems (osv-scanner), static analysis (semgrep), lint a Dockerfile (hadolint), software bill of materials in CycloneDX or SPDX (syft).
- Convert: JSON to YAML and YAML to JSON (the YAML reader covers mappings, sequences, flow collections, quoted and block scalars; anchors, tags and multiple documents are refused instead of converted wrongly), TypeScript interfaces or Go structs from JSON, explain a cron expression with its next run times, number base (decimal, hex, binary, octal), colour (hex, rgb, hsl), take a URL apart.
- Tunnels: expose a local port with Cloudflare Tunnel, ngrok or localtunnel.
- Insert: random UUID, UUID v7 and ULID (both sort by creation time), numbers, string, password, hex secret key (16 / 32 / 64 bytes), color, Unix timestamp (seconds or milliseconds), date (ISO, local, HTTP), lorem ipsum (sentence, paragraphs or a number of words).
- Text: convert case (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, upper, lower), slugify, Base64 / URL / HTML encode and decode, JSON pretty print / minify / sort keys, escape and unescape a JSON string, decode a JWT (locally, signature not verified, shows the expiry), convert a Unix timestamp to a date and back, hash (md5, sha1, sha256, sha512), count lines / words / characters.
- Lines: sort (A-Z, Z-A, natural, by length), remove duplicate lines, remove empty lines, reverse, trim trailing whitespace.
- Extension: open the OMS settings, show the command log, re-detect installed tools, refresh the status bar.
Right-click a file or folder in the Explorer, an editor tab, or inside the editor and open OMS. The submenu only lists what applies to the item you clicked, and the command runs on that item, in its own folder (so a nested packages/api/package.json installs into packages/api, in its own terminal).
Every command that works on a file, a folder or a project is in these menus; the most used ones sit at the top of each submenu and the rest is grouped the same way as in the views. Only machine-wide tools (installers, version managers, global packages and caches, Docker images / containers / volumes / networks, the Kubernetes cluster and Helm releases, global Git configuration and accounts, network tools) stay in the views and the Command Palette.
| You right-click |
OMS offers |
| Any file or folder |
Git: for the clicked item, add to .gitignore (this file, every file of its type, or its folder; offers to stop tracking it when it is already committed), delete from Git but keep on disk (git rm --cached), history, discard changes, track with Git LFS; several selected items are handled together. For its repository: Sync & commit, Branch, Commits, Changes, Stash, Remote & tags, Repository (init, archive, .gitignore templates, LFS, submodules, worktrees), Account (show, use, clear, rewrite the remote), GitHub (gh), Advanced (blame, grep, largest files, signing, rerere, sparse checkout) and CI & hooks (actionlint, act, pre-commit). Repository commands run at the root of the repository that holds the clicked item. Also: Security (secret, vulnerability and static-analysis scans, SBOM), copy the item into a Docker container, and for a file its checksum. |
.sh, .bash, .zsh, .ksh, .fish, .ps1, .bat, .cmd |
Script: run, run with arguments, in a new terminal, with a .env file, with sudo, copy the run command; for shell scripts also debug trace, syntax check, ShellCheck, shfmt, fix line endings, make executable; add line-ending rules to .gitattributes. |
Dockerfile, Dockerfile.*, *.dockerfile |
Build an image from that file (also multi-platform with buildx), with its folder as the build context; lint it with hadolint. |
*compose*.yml / .yaml, a folder with one |
Docker Compose with that file: up, up --build, down, down -v, restart, stop, start, ps, logs, top, validate config, build, pull, up with profiles, watch, per-service logs, shell, restart and rebuild, and Database of a service (psql, mysql, redis-cli, mongosh, dump, restore). |
.yaml / .yml (except Compose, pubspec, pnpm, Helm and pre-commit files) |
Kubernetes: dry run, diff, apply, delete the resources of that manifest; render and apply on kustomization.yaml. |
Chart.yaml, Chart.lock, values*.yaml, a folder with a Chart.yaml |
Helm chart: lint, render, upgrade / install (a clicked values file is passed with -f), update dependencies, package. |
.tf, .tfvars, .terraform.lock.hcl, a folder with .tf files |
Terraform: init, plan, apply, validate, format, then Plan & apply, Checks, State and Workspaces. |
.sql |
Restore it into the PostgreSQL database of a Compose service. |
.tar, .tgz, .gz |
Load it as a Docker image, or restore it into a volume. |
package.json, lock files, pnpm-workspace.yaml, .npmrc, tsconfig*.json, JavaScript / TypeScript and .prisma files, a folder with a package.json |
Node.js: Project (scripts, npx / dlx, install, clean install, reinstall, format, .env.example), Dependencies, Quality (test, lint, type check, audit), Setup (ESLint, Prettier, test runner, TypeScript), Publish, Database (Sequelize, Prisma), Database (Drizzle, TypeORM, Knex), Debug & profile, pnpm and pnpm workspace, patches, publish. |
pubspec.yaml, pubspec.lock, analysis_options.yaml, .dart files, a folder with a pubspec.yaml |
Flutter: Run & devices, Packages, Build (APK, bundle, iOS, desktop, web, custom), Quality (analyze, format and fix, tests, coverage; test that *_test.dart file), Code generation, Native, maintenance, publish, FVM & Melos. |
go.mod, go.sum, go.work, .go files, a folder with a go.mod |
Go: Project (run, air, build, release build, generate, format, imports, doc), Tests (all, the package of that file or folder, by name, coverage, race, benchmarks), Quality, Modules, Workspace (go.work), Database, Profiling. Any folder also offers "test this package". |
Cargo.toml, Cargo.lock, rust-toolchain(.toml), .rs files, a folder with a Cargo.toml |
Rust: Project, Tests, Quality (fmt, clippy, audit, unused dependencies, macro expansion, docs), Dependencies, Publish, Toolchain of this folder (override, pin), WebAssembly, Database (sqlx), Profiling & analysis. |
.py, requirements*.txt / .in, pyproject.toml, Pipfile, uv.lock, poetry.lock, setup.py, alembic.ini, .python-version, a folder with one of the project files |
Python: run or pytest that file, install / uv sync / uv compile that requirements file, then Virtual environment, Run & servers, pip, Quality, Django, DB migrations (Alembic), Profiling, Poetry, pipenv, uv project and uv pip & Python version. |
Makefile, justfile |
Run a target / recipe of that file. |
.patch, .diff |
Apply the patch. |
.env, .env.* |
Generate .env.example (keys and comments, no values); compare its variable names with another .env file. |
.gitignore, .gitattributes |
Generate .gitignore from templates; add the script line-ending rules. |
| A folder |
Open it in the system terminal, serve it over HTTP, benchmark commands in it, and New / init here: new script, package.json, Flutter project, Go module or web project, cargo package, uv project, virtual environment, Git repository. A folder that is a project also gets the submenu of its type (see above). |
Inside the editor the same submenu also has the Insert, Text and Lines tools.
Status bar
- Node.js version in use (follows the NVM default); click it to open the Node-Js view.
- Python environment: the workspace virtual environment or interpreter; click it to open the Python view.
- Git account the open repository commits as; a warning colour means the identity matches none of your accounts. Click it for the account menu.
Each item can be turned off in the settings.
Code snippets
More than 600 snippets, offered by IntelliSense as you type their prefix:
- General: common programming patterns, documentation blocks, HTML / JavaScript / PHP helpers
- JavaScript / TypeScript: Node.js, Express, React, Ant Design, Next.js, Mongoose (TypeScript)
- Dart / Flutter: Dart, GetX
- Other: Go, PHP, YAML, Android XML
Settings
Open Settings > Extensions > OMS Tools, or click the gear in any OMS view.
| Setting |
Default |
Description |
oms-vs.packageManager |
auto |
Package manager used by the Node commands: auto, npm, pnpm, yarn or bun. auto reads the packageManager field of package.json, then the lockfile, then falls back to npm. |
oms-vs.terminalName |
OMS Terminal |
Name of the shared terminal the commands run in. |
oms-vs.rememberLastChoices |
true |
List recently picked build targets, devices, branches and scripts first in quick picks (stored per workspace). |
oms-vs.hideViewsForMissingTools |
true |
Show an install hint instead of the command list when a view's tool is not installed. |
oms-vs.chromePath |
empty |
Chrome / Chromium executable for "No CORS Chrome". Empty searches the default install locations. |
oms-vs.statusBar.showNodeVersion |
true |
Show the Node.js version in the status bar. |
oms-vs.statusBar.showPythonInterpreter |
true |
Show the workspace Python environment or interpreter in the status bar. |
oms-vs.statusBar.showGitAccount |
true |
Show the Git account of the current repository in the status bar. |
oms-vs.git.accounts |
[] |
Git accounts on this computer, managed by the Git > Accounts commands. Machine scope, not synced. |
oms-vs.git.branchPrefixes |
feature/, bugfix/, hotfix/, release/, chore/, refactor/, docs/, test/, perf/, ci/, ai/ |
Prefixes offered by "Create Branch". |
oms-vs.git.patchOutputDir |
dist/${projectName} |
Folder for patch and archive files, relative to the workspace folder. |
oms-vs.go.defaultBuildTarget |
empty |
GOOS/GOARCH target listed first in "Build", e.g. linux/amd64. |
oms-vs.go.runEntry |
empty |
Package passed to go run, e.g. ./cmd/server. Empty detects main.go and cmd/*. |
oms-vs.flutter.buildRunnerArgs |
build --delete-conflicting-outputs |
Arguments passed to dart run build_runner. |
oms-vs.terraform.binary |
auto |
Executable of the Terraform commands: auto (terraform when installed, otherwise tofu), terraform or tofu. |
oms-vs.docker.composeCommand |
docker compose |
Compose executable, e.g. docker compose or docker-compose. |
oms-vs.docker.composeFilePattern |
**/*compose*.{yml,yaml} |
Glob used to find compose files in the workspace folder. node_modules, .git, vendor, dist, build, out and virtualenv folders are always skipped. |
oms-vs.scripts.include |
**/*.{sh,bash,zsh,ksh,fish,ps1,bat,cmd} |
Glob of the files listed in the Scripts view and the script pickers. |
oms-vs.scripts.exclude |
**/{node_modules,.git,vendor,dist,build,out,target,...}/** |
Glob of the folders never searched for scripts. |
oms-vs.scripts.runFrom |
workspaceFolder |
Working directory of a script: workspaceFolder, or scriptFolder for the folder that contains it. |
oms-vs.scripts.windowsBash |
auto |
Windows: what runs .sh files from PowerShell or cmd. auto (Git Bash, otherwise WSL), git-bash or wsl. |
oms-vs.scripts.bashPath |
empty |
Windows: full path of bash.exe. Empty finds Git for Windows automatically. |
Keyboard shortcuts
| Shortcut (Windows/Linux) |
macOS |
Command |
Ctrl+Alt+Shift+U |
Cmd+Alt+Shift+U |
Insert random UUID |
Ctrl+Alt+Shift+N |
Cmd+Alt+Shift+N |
Insert random numbers |
Ctrl+Alt+Shift+S |
Cmd+Alt+Shift+S |
Insert random string |
Ctrl+Alt+Shift+D |
Cmd+Alt+Shift+D |
Insert date |
Ctrl+Alt+Shift+R |
Cmd+Alt+Shift+R |
Run a package.json script (in Node.js projects) |
Ctrl+Alt+Shift+K |
Cmd+Alt+Shift+K |
Kill process on port |
Any other command can be bound in Preferences: Open Keyboard Shortcuts by searching for oms:.
Git accounts
Several Git accounts on one computer, without ever committing under the wrong name. Everything lives under Git > Accounts and Git > SSH, Tokens & Credentials in the activity bar (also in the Command Palette as oms: Git account: ...).
How it works
Each account owns one include file, ~/.gitconfig-oms-<id>, that holds its user.name, user.email, core.sshCommand (pinned SSH key), credential.https://<host>.username (which saved HTTPS login to use) and, optionally, commit-signing settings. Git pulls the file in:
- per folder: an
includeIf "gitdir:<folder>/" entry in the global config, so every repository under e.g. ~/work/ uses the Work account (gitdir/i: on Windows and macOS, whose file systems ignore case);
- per repository: a local
include.path in .git/config ("Use account for this repo"), which wins over the folder binding;
- as default: an unconditional
include.path in the global config ("Set default account"), used for fresh clones and for repositories outside every bound folder. It is kept above the includeIf entries, so folder bindings and per-repository assignments still win.
Nothing else in your Git configuration is touched, and remote URLs keep working unchanged: core.sshCommand picks the key and credential.<host>.username picks the saved login. An SSH host alias (Host github.com-<id>) is also written to ~/.ssh/config for tools that ignore core.sshCommand; "Rewrite remote URL for account" switches a remote to git@github.com-<id>:owner/repo.git or https://<login>@github.com/owner/repo.git when you want that.
Setting it up
Add account (Git > Accounts). Pick a display name, the commit identity, the host and how it authenticates:
- Generate a new SSH key: an
ed25519 key is created with ssh-keygen (Windows 10+, macOS and Linux ship it), the public key is copied to the clipboard and the provider page for adding a key can be opened.
- Use an existing SSH key: pick the private key from
~/.ssh.
- HTTPS with a personal access token: enter the token (GitHub PAT, GitLab token, Bitbucket app password, ...) and it is stored in the credential helper under
https://<login>@<host>; the login is pinned per repository, so each account keeps its own token and Git never asks. Leave the token empty and Git asks once on the first push instead.
Then bind folders (the parent folder of your repositories is the best choice) or skip and assign repositories one by one. Optionally sign commits with the SSH key.
Repeat for the second account. The first account offers to take over your current global identity.
Test SSH connection confirms that the host recognises the key as the right login. Test HTTPS access (token) checks the stored token against the provider API (GitHub, GitLab, Bitbucket, Codeberg) and warns when it belongs to a different login; for other hosts it runs git ls-remote on a repository you name.
Check setup (doctor) verifies include files, includeIf entries, keys, ~/.ssh/config, the credential helper and which account every open workspace folder resolves to. "Fix (re-apply all)" rewrites everything from the accounts list.
Day to day
- The status bar shows the account of the open repository; a warning colour means the identity matches none of your accounts. Click it for the account menu.
- Use account for this repo assigns one repository, Clear repo account reverts to the folder binding, the default account or the global identity.
- Set default account picks the account that applies everywhere else, which is what a
git clone into an unbound folder uses for its key or login. Switch it any time, or choose "No default account" to fall back to the plain global identity. If your global [user] section is written after the include and still wins, the command offers to remove those global keys.
- Clone with account clones with the right key or login and assigns the repository in one step.
- Store / update access token checks the token against the provider API first (GitHub, GitLab, Bitbucket, Codeberg): an invalid or expired token is refused, and a token that belongs to another login is stored under that login after you confirm. The stored token is read back from the helper before the command reports success. It stores or rotates the token of an account (SSH accounts can carry one too, for
https:// remotes); the doctor reports whether a token is stored. Tokens live only in the credential helper, never in settings or gitconfig.
- Set up credential helper picks the right helper for the OS (Git Credential Manager on Windows, Keychain or GCM on macOS, libsecret / GCM / cache on Linux). Forget saved credentials removes one saved login (
git credential reject), e.g. a login saved without a username that keeps winning.
- Accounts are stored in the machine-scoped setting
oms-vs.git.accounts (not synced, since paths differ per computer). Edit the JSON directly if you prefer, then run "Re-apply all accounts".
Notes
- A generated key without a passphrase works everywhere non-interactively; with a passphrase, add the key to
ssh-agent.
- Repositories assigned individually keep their
include.path when the account is removed; use "Clear repo account" on them.
- Windows only: a login saved in Credential Manager as
git:https://github.com (no username) wins for repositories whose account has no HTTPS username. The doctor flags it; forget it with Forget saved credentials > The login saved without a username.
- First pull or push without a stored token: the credential manager shows its sign-in dialog once (GitHub: browser, device code or token). Sign in as the login of that account and it is saved for good. On Windows, entries written by the old Git Credential Manager for Windows (
Git:https://..., capital G) are not read by the current manager; the doctor lists them with the cmdkey /delete command to clean them up.
- Two accounts may share an email (one person, two logins). The status bar and the doctor then tell them apart by the HTTPS username or SSH key Git resolves for the repository.
Git workflows
Comparing Branches
- Open the Git view in the activity bar
- Click "Diff Branches"
- Select a branch to compare from the quick pick menu
- The diff is saved as
dist/<project>/<current-branch>-changes.patch in your workspace
Exporting Changes as Patches
- Open the Git view in the activity bar
- Click "Diff Uncommitted"
- Choose "Staged" or "Unstaged" changes
- The patch is saved as
dist/<project>/<current-branch>-staged.diff or -unstaged.diff
Applying Patches
- Open the Git view in the activity bar
- Click "Apply Patch"
- Select a
.patch or .diff file from the file dialog
- The patch will be applied to your working directory
Requirements
- VS Code 1.74 or newer, on Windows, macOS or Linux.
- Only the tools you actually use need to be installed; a view whose tool is missing shows install links instead of its commands.
| For |
You need |
The extension can install |
| Git |
Git; the OpenSSH client (ssh, ssh-keygen) for the SSH account features |
|
| Node.js |
Node.js with npm, pnpm, yarn or bun |
NVM (and Node.js through it), pnpm |
| Python |
Python 3 |
uv, Poetry, pipenv |
| Go |
Go |
golangci-lint, staticcheck, govulncheck, goimports, air and other go install tools |
| Rust |
Nothing up front |
Rust itself (rustup), the C/C++ build tools, cargo plugins (cargo-watch, cargo-nextest, cargo-audit...) |
| Flutter |
Flutter SDK; Xcode and CocoaPods for iOS, the Android SDK for Android |
|
| Docker |
Docker with the Compose plugin (or docker-compose) |
|
| Scripts |
On Windows, Git for Windows or WSL for .sh files; PowerShell 7 for .ps1 on macOS / Linux |
Git for Windows, PowerShell 7, ShellCheck, shfmt, make, just |
| Tunnels |
cloudflared or ngrok (localtunnel runs through npx) |
|
Contributing
This extension is for personal use. For issues or suggestions, please contact the author.
Development
npm install # also enables the git hooks in .githooks/
npm run compile # or: npm run watch
npm run lint
npm test # downloads a VS Code build and runs test/suite/**
npm run package # builds oms-vs-<version>.vsix
Project structure, conventions and the checklists for adding commands, settings and views are in AGENTS.md. Changes are listed in CHANGELOG.md.
License
Personal use only. See LICENSE.md.
| |