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

Version Lens

pflannery

|
1,105,225 installs
| (70) | 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

Badge for version for Visual Studio Code extension Installs Rating The ISC license

BuyMeACoffee

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

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

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
  • Terms of use
  • Trademarks
© 2023 Microsoft