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

no code completion values after entering in a keyword #35384

Closed
devoncarew opened this issue Dec 12, 2018 · 3 comments
Closed

no code completion values after entering in a keyword #35384

devoncarew opened this issue Dec 12, 2018 · 3 comments
Assignees
Labels
analyzer-completion Issues with the analysis server's code completion feature analyzer-completion-correctness area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@devoncarew
Copy link
Member

When trying to complete a symbol that starts with a keyword, I get completion until I type the keyword, I get no completion once I've entered enough text to match the keyword, and I resume getting completions once I've entered more text than the keyword.

So, when trying to complete isFooBar, I see completion suggestions on i; I lose them when I type is, and I start seeing them again on isF.

@devoncarew devoncarew added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-completion Issues with the analysis server's code completion feature labels Dec 12, 2018
@stereotype441 stereotype441 added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Dec 12, 2018
@bwilkerson
Copy link
Member

A simple reproduction case:

void f() {
  i
}
bool get isFoo => true;

@srawlins srawlins added P3 A lower priority bug or feature request and removed P2 A bug or feature request we're likely to work on labels Apr 19, 2023
@scheglov scheglov self-assigned this Mar 8, 2024
@scheglov
Copy link
Contributor

scheglov commented Mar 8, 2024

Oh, I hit this quite often - all flag variables like isEnabled.

@scheglov
Copy link
Contributor

scheglov commented Mar 8, 2024

@scheglov scheglov added P2 A bug or feature request we're likely to work on and removed P3 A lower priority bug or feature request labels Mar 8, 2024
@scheglov scheglov closed this as completed Mar 9, 2024
copybara-service bot pushed a commit that referenced this issue Mar 9, 2024
Bug: #35384
Change-Id: I15f10e5f2b5ad8d702976acd149d7f3450151cc8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356305
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
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 analyzer-completion-correctness area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

6 participants