Pubspec Assist

Easily add dependencies to your Dart / Flutter project.

Pubspec Assist is a Visual Studio Code extension that allows you to easily add dependencies to your Dart and Flutter project's pubspec.yaml , all without leaving your editor.

Usage

Simply open the Command Palette (by default, Ctrl+Shift+P on Windows, ⌘+Shift+P on Mac) and search for "Pubspec Assist".

Then, choose any of the available options (see the video above).

Download

Download the latest version here.

Features

Get the latest version for your packages.

Pubspec Assist will get you the latest version of whatever package you are looking for and puts it in your pubspec.yaml file while preserving comments and (most) empty lines and formats the file automatically. If you already have the package in your pubspec.yaml , Pubspec Assist automatically updates it to the latest version for you. Oh, and it also supports dev_dependencies !

Never leave VS Code.

Forget going to the pub.dev to search for your packages and copy the dependency text.

You can look for and import packages directly from VS Code without ever switching windows.

Smart (Fuzzy) search.

Pubspec Assist is smart about finding what you're trying to search for.

It gets you the most likely package you want and will give you a selection to choose from otherwise and sorts them by relevance.

Compatible with multiple projects.

Pubspec Assist will add your new dependencies to the pubspec.yaml that's open in your editor.

Don't have your pubspec.yaml file opened? No problem - the package will be added to the pubspec.yaml in the root of your workspace.

Requirements

Visual Studio Code

An internet connection

A sense of relief after installation.

Roadmap

Some features that are planned for the future, in order of expected implementation.

Auto-complete while searching.

Bugs and feature requests

If you have any bugs or feature requests to report, please check out the issues on the GitHub repository page or create a new one.