Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DepDetectNew to Visual Studio Code? Get it now.
DepDetect

DepDetect

funkpopo

|
1 install
| (0) | Free
Detects and manages dependencies versions in projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DepDetect logo

DepDetect

English | 简体中文

Check and update npm, PyPI, Go module, and Maven dependency versions without leaving VS Code.

Install DepDetect from the Visual Studio Marketplace MIT License

DepDetect adds version status markers directly to supported dependency files. Hover over a dependency to browse published versions, open its registry page, or replace the current version with one click. You can also update every detected dependency in the active file from the Command Palette.

DepDetect showing dependency versions in VS Code

Highlights

  • See dependency status inline while you work.
  • Browse stable published versions from the editor hover.
  • Click any version in the hover to apply it immediately.
  • Update all detected dependencies in the active file with one command.
  • Follow the current npm registry configuration, including scoped registries.
  • Avoid repeated network requests with per-session and persistent caching.

Supported files

Ecosystem File Detected declarations Version source
Node.js package.json dependencies, devDependencies Configured npm registry
Python requirements.txt Versioned PEP 508-style requirements PyPI
Python pyproject.toml PEP 621 dependencies, optional dependencies, dependency groups, build requirements, and Poetry dependencies PyPI
Go go.mod Single and block require directives Go module proxy
Java pom.xml Dependencies with an explicit <version> Maven Central

Prerelease versions are excluded. Deprecated npm releases and yanked PyPI releases are excluded as well.

Getting started

  1. Install DepDetect from the Visual Studio Marketplace.
  2. Open a supported dependency file.
  3. Wait for DepDetect: OK in the status bar.
  4. Hover over a dependency's status marker to inspect available versions.
  5. Select a version to replace the current one, or run DepDetect: Update All dependencies of the active dependency file from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).

For npm dependencies, choosing an individual version preserves a leading ^ or ~ constraint. For plain-text formats, DepDetect replaces only the version text and leaves the surrounding declaration in place.

Status markers

Marker Meaning
✅ The current constraint is compatible with the latest stable release.
❌ <version> The latest stable release is outside the current constraint.
❗ Version information could not be resolved or the version is invalid.

The marker text can be customized in VS Code settings.

Commands

Open the Command Palette and search for DepDetect:

Command Description
DepDetect: Update All dependencies of the active dependency file Replace all detected versions in the active file with their latest stable releases and save the file.
DepDetect: Retry to fetch the active dependency file Bypass cached metadata and fetch dependency versions again.

Version links shown in dependency hovers use an internal command and are not intended to be run manually.

Refresh behavior

DepDetect fetches version metadata when a supported file is opened for the first time. Editing or saving the file reparses the document and updates marker positions without repeatedly contacting registries. Source control diff views also avoid starting registry requests.

Run DepDetect: Retry to fetch the active dependency file after adding a dependency or whenever you want fresh registry data. Registry responses are cached for faster subsequent checks.

Settings

Setting Default Description
depdetect.compatibleDecorator ✅ Marker template for a compatible dependency. Use ${version} to include the latest version.
depdetect.incompatibleDecorator ❌ ${version} Marker template when the latest version is outside the current constraint.
depdetect.errorDecorator ❗ Marker shown when dependency information cannot be resolved.

Settings can be changed globally or per workspace. Empty marker text hides that marker.

Current limitations

  • Newly added dependencies are checked only after an explicit retry or after the file is reopened in a new VS Code session.
  • Maven versions referenced through properties such as ${revision} are intentionally not edited.
  • Unversioned dependencies, local paths, Git URLs, workspace references, and other non-registry specifications are not update targets.
  • Update All moves every detected dependency to its latest stable release. Review the resulting changes before committing, especially when they include major-version upgrades.

Feedback and source

Found a bug or have a feature request? Open an issue on GitHub. The source code is available in the DepDetect repository.

DepDetect is inspired by crates and is a modified fork of Riri's vscode-ext-packages. The original work is Copyright © 2023 Riri; modifications are Copyright © 2026 funkpopo. Full notices are retained in the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft