Skip to content

Auto-import completions uses package URIs even when prefer_relative_imports is enabled #3669

Closed

Description

@DanTup

When this lint is enabled, we should insert relative imports by default.

Activity

  1. added this to the v3.29.0 milestone on Nov 15, 2021
  2. DanTup commented on Nov 18, 2021

    @DanTup
    MemberAuthor

    Fixed by https://dart-review.googlesource.com/c/sdk/+/220200.

    @bkonyi FYI! Although DDS doesn't have prefer_relative_imports enabled, so it doesn't currently trigger there. If the lint is enabled, then the code completion will use relative paths for its auto-imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions