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

Fixes to completing types #1070

Conversation

datho7561
Copy link

Focusing on the CompletionTests.testType* tests

  • Fix relevance calculations: the R_CLASS / R_INTERFACE / R_ANNOTATION / etc. are only used when completing an extends or implements entry
  • Complete keyword types in cases where types are suggested

Focusing on the `CompletionTests.testType*` tests

- Fix relevance calculations: the R_CLASS / R_INTERFACE / R_ANNOTATION
  / etc. are only used when completing an `extends` or `implements`
  entry
- Complete keyword types in cases where types are suggested

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561
Copy link
Author

Should fix 30 tests and cause 1 regression.

The regression is org.eclipse.jdt.core.tests.model.CompletionTests23.test001_neg, I'll open an issue for that since it's unrelated to what I'm doing in this PR.

@datho7561 datho7561 merged commit d1182e8 into eclipse-jdtls:dom-with-javac Dec 18, 2024
5 of 6 checks passed
@datho7561 datho7561 deleted the dom-with-javac-completion-type-fixes branch December 18, 2024 20:38
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

Successfully merging this pull request may close these issues.

1 participant