Skip to content

DartDocs are missing from auto-import extension members #4144

Closed

Description

@DanTup

Related to #4143, we're not finding the element to look up the docs.

Screenshot 2022-09-05 at 17 37 33

Activity

  1. added this to the v3.50.0 milestone on Sep 5, 2022
  2. added
    in editorRelates to code editing or language features
    in lsp/analysis serverSomething to be fixed in the Dart analysis server
    on Sep 5, 2022
  3. modified the milestones: v3.50.0, v3.52.0 on Oct 3, 2022
  4. robertherber commented on Oct 29, 2022

    @robertherber

    Need this badly! :) What do we need to do to enable this? Docs would be great but probably this should be default behaviour?

  5. changed the title [-]Docs are missing for auto-import extension members[/-] [+]DartsDocs are missing from auto-import extension members[/+] on Oct 29, 2022
  6. changed the title [-]DartsDocs are missing from auto-import extension members[/-] [+]DartDocs are missing from auto-import extension members[/+] on Oct 29, 2022
  7. DanTup commented on Oct 29, 2022

    @DanTup
    MemberAuthor

    @robertherber this title might have been a little ambiguous. This wasn't about documenting how to use this, the problem is that the DartDocs are missing from the auto-import extension members. Auto-imports of extension members is enabled by default, however they'll only show up in SDKs that include the fix at dart-lang/sdk@1c8bb85 (which is not the current stable releases, although it's likely in the current beta releases). I would expect the next major stable releases of Dart/Flutter include that, so they should show up automatically (although, without dartdocs in the details pane until I've fixed this issue).

  8. robertherber commented on Oct 29, 2022

    @robertherber

    Aah, gotcha 👍 Being used to the smoothness of TypeScript I feel so handicapped without this. Thanks for your work on it!

  9. modified the milestones: v3.52.0, v3.54.0 on Oct 31, 2022
  10. DanTup commented on Nov 28, 2022

    @DanTup
    MemberAuthor

    This was fixed along with #3787 in dart-lang/sdk@fc9581d:

    Screenshot 2022-11-28 at 12 57 00

    Requires an SDK release to show up.

  11. added
    relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
    on Nov 28, 2022
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

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions