Duplicate code actions appear in quick-fix when two diagnostics have similar fixes on the same line #2960
Labels
in editor
Relates to code editing or language features
in lsp/analysis server
Something to be fixed in the Dart analysis server
is bug
Milestone
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.
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).
The text was updated successfully, but these errors were encountered: