Skip to content

Autocomplete dependency version in Pubspec.yaml #2313

Open
@brianegan

Description

@brianegan

Hey there :) Thanks again for all the hard work on this plugin. Not sure if this feature request is possible, but would save me a lot of time when I create new projects / update my dependencies.

Feature Request: Autocomplete Dependency version while editing Pubspec.yaml

  1. Open pubspec.yaml in Dart or Flutter Package
  2. Go to dependencies section
  3. Typing "http: "
  4. See suggested version constraints based on the installation instructions on pub.dartlang.org.
  5. Select one and keep adding dependencies

Current Workflow:

  1. Open pubspec.yaml
  2. Go to dependencies
  3. Start typing http
  4. Realize I need to get appropriate version
  5. Open up browser
  6. Navigate to pub.dartlang.org
  7. Search for the package I want
  8. Open the Installation page and copy the number
  9. Go to editor and paste it in

A video of the functionality I'm interested in, from VSCode working with package.json files: https://www.youtube.com/watch?v=3LP5QpkoUAA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions