It gets you the most likely package you want and will give you a selection to choose from otherwise and sorts them by relevance. Pubspec Assist is smart about finding what you're trying to search for.
You can look for and import packages directly from VS Code without ever switching windows. Oh, and it also supports dev_dependencies! Never leave VS Code.įorget going to the pub.dev to search for your packages and copy the dependency text. If you already have the package in your pubspec.yaml, Pubspec Assist automatically updates it to the latest version for you. Pubspec Assist will get you the latest version of whatever package you are looking for, puts it in your pubspec.yaml and formats the file automatically. Features Get the latest version for your packages. Downloadĭownload the latest version here. Pro-tip: You can search for multiple packages at a time by separating every package name with a comma ( bloc, cloud_firestore, provider). Then, choose any of the available options (see the video above). Simply open the Command Palette (by default, Ctrl+Shift+P on Windows, ⌘+Shift+P on Mac) and search for "Pubspec Assist". 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. Pubspec Assist Easily add dependencies to your Dart / Flutter project.