Pub Manager is a Visual Studio Code extension that helps you manage packages in your Dart and Flutter projects. With this extension, you can view package information, check for updates, and easily update your pubspec.yaml file.
Display a list of packages from the pubspec.yaml file in a webview panel.
View package details such as the current version, latest version, and published date.
Check for available updates for each package and perform updates.
Automatically update the pubspec.yaml file and run flutter pub get to apply package updates.
Add or remove a package directly from the panel.
Run static analysis on the project to find unused packages and files and get the files count and lines of code count.
Launch Visual Studio Code.
Open the Extensions view by clicking on the square icon in the sidebar or by pressing Ctrl+Shift+X.
Search for "Pub Manager" and click on the "Install" button.
Once the installation is complete, click on the "Reload" button to activate the extension.
Open a Dart or Flutter project that contains a pubspec.yaml file.
In the VS Code toolbar, click on the Pub Manager icon to open the panel. or run the "Pub Manager: Show package list" command from the command palette.
The package list will be displayed in a webview panel, showing the package name, current version, latest version, published date, and an update button.
Click on the update button for a package to update its version in the pubspec.yaml file.
After the update, the pubspec.yaml file will be saved, and flutter pub get will be automatically run to apply the changes.
There are no known issues at the moment. If you encounter any problems or have suggestions for improvements, please open an issue.