Skip to content

Code Completion should put compatible data types at the top of the list in parameters #43113

Open
@petro-i

Description

@petro-i

This tracker is for issues related to:
Analysis server version: 1.28.0
Dart SDK: 2.10.0-11.0.dev (dev) (Tue Aug 11 02:21:48 2020 -0700) on "windows_x64"

image

There is no reason to show all possible options in the list above, the correct one is not even shown, the suggestion compatible by data type should come at the top of list. I don't know if there is any reason to keep all not compatible data types in the list (you could filter them in addition), but the compatible should be at the top and selected by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-completionIssues with the analysis server's code completion featuretype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions