Skip to content

Variable override auto-complete doesn't differenciate between getter and setterΒ #59929

@FMorschel

Description

@FMorschel

If you have code like:

class A {
  A(this.value);
  int value;
}

class B extends A {
  B(super.value);
  @override^
}

And you ask for code completion at ^ and continue writing value this is the output:

Image


If you ask for something that is not in scope, it'll show on the right side what is the library that will be imported:

Image


Could we use that place for differentiating between getter and setter?

CC @DanTup

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ondevexp-completionIssues with the analysis server's code completion featuredevexp-completion-correctnessIssues with the correctness of the analysis server's code completion featuredevexp-serverIssues related to some aspect of the analysis serverlegacy-area-analyzerUse area-devexp instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions