Skip to content

Duplicate code actions appear in quick-fix when two diagnostics have similar fixes on the same line #2960

Closed

Description

@DanTup

We already de-dupe actions that have the same fix (eg. multiple "Import library foo" actions), but those that have their own fixes still show up multiple times.

Nov-17-2020 10-45-37

When the titles are the same, we should pick the one closest to the caret (or in the case of a range, the start of the range).

Activity

  1. added
    in editorRelates to code editing or language features
    in lsp/analysis serverSomething to be fixed in the Dart analysis server
    on Nov 17, 2020
  2. added this to the v3.17.0 milestone on Nov 17, 2020
  3. DanTup commented on Nov 19, 2020

    @DanTup
    MemberAuthor
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