Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions are not working properly #6177

Closed
bhanuka96 opened this issue May 18, 2022 · 7 comments
Closed

Suggestions are not working properly #6177

bhanuka96 opened this issue May 18, 2022 · 7 comments

Comments

@bhanuka96
Copy link

Type color, there aren't display any suggestions but type the exact same word, then suggestions are displayed.

Screenshot 2022-05-18 at 8 52 09 PM
Screenshot 2022-05-18 at 8 52 32 PM

@stevemessick
Copy link
Member

This is an issue with the Dart analyzer. See dart-lang/sdk#49054

@scheglov
Copy link
Contributor

What did you expect to see here for colo typed?
Do you have a named parameter named color? Or colorFoo?
Something else?

@stevemessick stevemessick added the waiting for customer response Auto-close if no response label May 20, 2022
@bhanuka96
Copy link
Author

@scheglov Previously, it showed 'textColor' when typing 'color'. Now I have to type the exact word to get the suggestions list

@github-actions github-actions bot removed the waiting for customer response Auto-close if no response label May 22, 2022
@Anfet
Copy link

Anfet commented May 23, 2022

Upping.

Right now made a stateful widget.
Typing disp does not yield a dispose methond suggestion

in Studio logbar is being displayed
Class '_AppVideoPlayerState' can't define field 'dispose' and have method 'State.dispose' with the same name. Expected to find ';'. Variables must be declared using the keywords 'const', 'final', 'var' or a type name.

And there are many more such issues, when code suggestion ignores overridable methods;

@stevemessick
Copy link
Member

This is fixed in https://dart-review.googlesource.com/c/sdk/+/245623, but not released yet.

@helin24
Copy link
Member

helin24 commented May 23, 2022

Closing as duplicate of #6176

@helin24 helin24 closed this as completed May 23, 2022
@stevemessick
Copy link
Member

The new Flutter 3.0.5 has the fix for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants