Skip to content

Ranking/sorting of code completion is worse with suggestion sets #38739

Closed
@DanTup

Description

@DanTup

This was raised in Dart-Code, but I think needs to be fixed in the server. I thought there was already an open issue about this here but cannot locate it. I don't know if it's easily fixable, but seems like we should have an issue tracking it here.

This is what completion looked like before:

Screenshot 2019-05-29 at 10 18 53 am

And this is what it looks like using the new auto-import completions:

Screenshot 2019-05-29 at 10 24 04 am

Based on comments from @scheglov I think the issue here is that the declared type of the property does not match the one the user wants (because it just uses the parsed AST) and therefore doesn't get ranked at the top.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestdevexp-completionIssues with the analysis server's code completion featurelegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions