Dart Pub Info is a Visual Studio Code extension that displays package information when hovering over package names in the pubspec.yaml file of a Dart project.
Features
This extension provides the following features:
Detects package names inside the pubspec.yaml file
Fetches package information from the pub.dev API when hovering over a package name
Displays the latest version, description, homepage, repository, and a link to pub.dev
Example Usage
Open the pubspec.yaml file of a Dart project
Hover over a package name under the dependencies or dev_dependencies section
A tooltip will appear showing detailed information about the package
Requirements
To use this extension, you will need:
Visual Studio Code version 1.98.0 or higher
An internet connection (required to fetch package data)
Extension Settings
There are currently no configurable settings for this extension.
Known Issues
If package information fails to load, an error message will be displayed
Some packages may have incomplete information available from the pub.dev API
Following Extension Guidelines
Make sure you've read through the Extension Guidelines and are following best practices for extension development.
Working with Markdown
You can edit this README.md using Visual Studio Code. Here are some helpful tips:
Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows/Linux)
Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows/Linux)
Press Ctrl+Space to trigger Markdown snippet suggestions