SchabanBo / pub_manager

Manage packages in your Dart and Flutter projects. View package information, check for updates, and easily update your
MIT License
5 stars 1 forks source link
flutter vscode-extension

Pub Manager

Marketplace

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

Key Features

Installation

  1. Launch Visual Studio Code.
  2. Open the Extensions View: Click on the square icon in the sidebar or press Ctrl+Shift+X.
  3. Search for "Pub Manager" and click on the "Install" button.
  4. Activate the Extension: Click on the "Reload" button after installation.

Usage Guide

  1. Open a Dart or Flutter Project: Ensure your project contains a pubspec.yaml file.
  2. Access Pub Manager:
    • Click on the Pub Manager icon in the VS Code toolbar.
    • Or run the "Pub Manager: Show package list" command from the command palette.
  3. View and Manage Packages:
    • The package list will be displayed in a webview panel, showing details like package name, current version, latest version, published date, licenses, update availability, and an update button.
    • Click on the update button for a package to update its version in the pubspec.yaml file.
    • After updating, the pubspec.yaml file will be saved, and flutter pub get will run automatically to apply changes.
    • Use the "Update All" button to update all packages in the project at once.
    • View the current Flutter version in the panel.

Multi-project Workspace Support

Pub Manager supports multi-project workspaces. For each Dart or Flutter project in your workspace:

  1. Open the pubspec.yaml file.
  2. Run the "Pub Manager: Show package list" command from the command palette.
  3. The extension will display packages for the selected project.

Contributing

We welcome contributions! To contribute to Pub Manager:

  1. Fork the Repository.
  2. Clone the Forked Repository: git clone
  3. Install Dependencies: Use npm install or yarn install.
  4. Make Changes and Test: Ensure your changes are thoroughly tested.
  5. Create a Pull Request: Explain the purpose of your 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!