Skip to content

Links to error documentation do not appear in Problems view/Hovers when using LSP #3442

Closed

Description

@tbm98

on vscode:
Screen Shot 2021-07-01 at 12 18 14

on android studio
Screen Shot 2021-07-01 at 12 22 37

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Jul 1, 2021
  2. added this to the v3.25.0 milestone on Jul 1, 2021
  3. added
    in lsp/analysis serverSomething to be fixed in the Dart analysis server
    in editorRelates to code editing or language features
    and removed
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Jul 1, 2021
  4. changed the title [-]Support open documentation when hover to hinter warning[/-] [+]Links to error documentation do not appear in Problems view/Hovers when using LSP[/+] on Jul 1, 2021
  5. DanTup commented on Jul 1, 2021

    @DanTup
    Member

    This was missing from the LSP implementation. It wasn't supported when first implemented and was not added back when LSP get support for it.

    Once https://dart-review.googlesource.com/c/sdk/+/205642 lands and ships in an SDK, the error codes will become clickable with Ctlr+Click to open the docs (I don't think that's a good UI or particularly discoverable, but unfortunately that's controlled by VS Code so would need to be improved there).

    Screenshot 2021-07-01 at 11 38 15

    (I'll keep this issue open until the change lands in the SDK). Thanks!

  6. DanTup commented on Jul 1, 2021

    @DanTup
    Member

    Fixed by dart-lang/sdk@dc66d5d. It'll show up in a future SDK release.

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 bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions