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

Completion should suggest enum values first #40347

Open
shinayser opened this issue Jan 28, 2020 · 5 comments
Open

Completion should suggest enum values first #40347

shinayser opened this issue Jan 28, 2020 · 5 comments
Assignees
Labels
analyzer-completion Issues with the analysis server's code completion feature area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@shinayser
Copy link

shinayser commented Jan 28, 2020

The current completion is problematic with flutter, wich uses a lot of enums as parameters. Check this code:

image

In the example above I would have to press the down arrow at elast 5 times to get the to the enums that I should be passing as parameter.
(And you can see that it is suggesting the build method, context and false wich makes no sense at all!!)

Is that a intended behavior?

@shinayser
Copy link
Author

@pq You are the completion guy. Is this someting that you already fixed on you completion fixes rampage last weeks? 🤣🤣

@pq
Copy link
Member

pq commented Jan 29, 2020

Sorry, no. This is a hard one. Working on it but it's not a quick fix. See also #38739 for some background.

@pq pq added analyzer-completion Issues with the analysis server's code completion feature area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Jan 29, 2020
@srawlins srawlins added the P3 A lower priority bug or feature request label Nov 10, 2020
@srawlins srawlins added the type-enhancement A request for a change that isn't a bug label Nov 18, 2021
@scheglov scheglov self-assigned this Mar 10, 2024
@scheglov
Copy link
Contributor

This is similar to other issues that I want to look at, related to relevance.

@shinayser
Copy link
Author

Sorry for being so annoying and reporting all those issues @scheglov ... I am just a completion addict 😂

@scheglov
Copy link
Contributor

My too :-)

It is just that I not always have time to work on completion.
But I like using it!

So, it was not a complain, just a statement why I'm assigning this issue to myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-completion Issues with the analysis server's code completion feature area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants