
Version Lens
Overview
Version Lens is a popular extension for Visual Studio Code that significantly enhances the developer workflow by providing immediate visibility into project dependencies. It uses VS Code's CodeLens feature to show the latest available version for each package directly above or next to the dependency entries in various configuration files like `package.json`, `pom.xml`, `build.gradle`, `requirements.txt`, and more. This eliminates the need to manually check package managers or external websites for updates.
The extension supports a wide array of package managers across different programming ecosystems, including Node.js (npm, yarn, pnpm), Java (Maven, Gradle), .NET (NuGet), PHP (Composer), Python (Pip), Go, and even Dockerfiles and VS Code extensions. It provides convenient links to package homepages, changelogs, or repositories, allowing for quick investigation before updating. By keeping developers informed about outdated dependencies right within the editor, Version Lens helps maintain project health, security, and ensures access to the latest features provided by libraries, streamlining the update process and improving productivity.
Key Features
- Inline display of package versions using CodeLens
- Support for numerous package managers (npm, yarn, pnpm, Maven, Gradle, NuGet, Composer, Pip, Go, etc.)
- Displays latest, major, minor, and prerelease versions
- Quick links to package homepage, repository, and changelog
- Configurable display options and package manager settings
- Seamless integration within the Visual Studio Code editor
Supported Platforms
- Web Browser (via VS Code for Web)
- Windows App (VS Code)
- macOS App (VS Code)
- Linux App (VS Code)
Integrations
- Visual Studio Code
- npm
- yarn
- pnpm
- jspm
- Maven
- Gradle
- NuGet
- .NET Core
- PHP Composer
- Python Pip
- Golang
- Dockerfile
User Reviews
Pros
Shows versions directly in code, supports many languages/managers, easy to use, helps keep dependencies updated.
Cons
Can occasionally be slow on very large projects, some configuration might be needed for specific setups.
Pros
Works out of the box for most projects, clean inline display, links are very helpful.
Cons
Occasionally needs a VS Code restart after installing new dependencies for updates to show.
Get Involved
We value community participation and welcome your involvement with NextAIVault: