Version Lens for Visual Studio Code
This project is active
, not sponsored or funded.
This extension shows version information when opening a package or project file in vscode.
It abides by semver rules and uses the Node Semver package to compare and sort versions.
The following languages are supported:
NOTE
TOML needs an extenstion that registers the TOML language with vscode. e.g. https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml
Contents
Click the V icon in the package\project file toolbar.
You can also choose the default startup state by setting versionlens.suggestions.showOnStartup
Can I see pre-release 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
Will this extension install packages for me?
Yes, you can define a task that will run when you save a package document.
To set this up follow the custom task install guide
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:
How do I troubleshoot this extension?
Ensure you have "editor.codeLens": true
set in your settings.
Try resetting the cache by running the clear cache command (ctrl+p then type "Clear Cache")
This setting can be changed using versionlens.caching.duration
.
You can try setting this value to 0
when doing tests
but recommended to keep around 3 minutes for normal usage.
Version lens writes a log to an output channel in vscode.
If you're experiencing issues then set your log level to debug
.
You can change the log level by either
ctrl+p
then type Developer: Set Log Level
; or
- via the
VersionLens
output log window
NOTE
You may need to restart vscode if your issue is a start up problem.
You can find the VersionLens
output channel as seen in this picture:
In the worst case no logs are output. There maybe an error in the developer tools of vscode. You can open the dev tools from the help menu
in vscode
License
Licensed under ISC
Copyright © 2016+ contributors