Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pub ManagerNew to Visual Studio Code? Get it now.
Pub Manager

Pub Manager

qlevar

|
572 installs
| (1) | Free
Manage packages in your Dart and Flutter projects. View package information, check for updates, and easily update your
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pub Manager

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.

Pub Manager Pub Manager

Features

  • 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.

Installation

  1. Launch Visual Studio Code.
  2. Open the Extensions view by clicking on the square icon in the sidebar or by pressing Ctrl+Shift+X.
  3. Search for "Pub Manager" and click on the "Install" button.
  4. Once the installation is complete, click on the "Reload" button to activate the extension.

Usage

  1. Open a Dart or Flutter project that contains a pubspec.yaml file.
  2. 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.
  3. The package list will be displayed in a webview panel, showing the package name, current version, latest version, published date, and an update button.
  4. Click on the update button for a package to update its version in the pubspec.yaml file.
  5. After the update, the pubspec.yaml file will be saved, and flutter pub get will be automatically run to apply the changes.

Known Issues

  • There are no known issues at the moment. If you encounter any problems or have suggestions for improvements, please open an issue.

Happy coding!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft