Skip to content

Allow project imports first before package imports #6387

@dark-chocolate

Description

@dark-chocolate

Steps to Reproduce

  1. Import firebase_auth package
  2. Create a User class.
  3. In a different directory, type User.

Try to import the User class.

Screenshot:

Screen Shot 2022-11-03 at 11 51 42

The options show the package imports first before the project's import. I think we should first prioritize the project's imports.

Flutter doctor

[✓] Flutter (Channel master, 3.5.0-10.0.pre.17, on macOS 12.6 21G115 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2021.3.2)
[✓] VS Code (version 1.72.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions