Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Version LensNew to Visual Studio Code? Get it now.
Version Lens

Version Lens

YuTengjing

|
4,846 installs
| (2) | Free
Shows the latest version for each package using code lens
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Version Lens for Visual Studio Code

Modified Content

  • support nest versionlens.npm.dependencyProperties setting, for example: "pnpm.overrides"
  • support versionlens.npm.jsonPatterns setting

Features

This extension shows version information when opening a package or project for one of the following:

  • dotnet https://www.dotnetfoundation.org/
  • dub https://code.dlang.org/
  • jspm https://jspm.io/,
  • maven https://maven.apache.org/
  • npm https://www.npmjs.com/
  • pub https://pub.dev/
  • composer https://getcomposer.org/

How do I see version information?

Click the V icon in the package\project file toolbar.

You can also choose the default startup state by setting versionlens.suggestions.showOnStartup

Show releases

Can I see prerelease versions?

Yes! click on the tag icon in the package\project file toolbar.

You can also choose the default startup state by setting versionlens.suggestions.showPrereleasesOnStartup

Show prereleases

How do I install this extension?

Follow this link on how to install vscode extensions

Can I install this extension manually?

Yes goto the release page for instructions

I'm not able to install this extention

Try a clean install:

  • Shut down vscode
  • Delete the extension folder {home}/.vscode/extensions/pflannery.vscode-versionlens*
  • Open vscode and try reinstalling the extension again

If that fails then have a look in the Log (Extension Host) channel. Report it here if that doesn't help.

image

How do I troubleshoot this extension?

  • Ensure that the package\project file open is using the correct file type. i.e. json instead of jsonc

    image

  • Version lens writes a log to an output channel in vscode.

    If your experiencing issues please set your versionlens.logging.level to debug (vscode needs to be restarted)

    Then open the channel like:

    image

License

Licensed under ISC

Copyright © 2016+ contributors

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