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

Improve completion for annotation members #934

Conversation

datho7561
Copy link

  • fix duplicates in annotation members
  • fix range for annotation members
  • fix type of annotation member completions
  • opening completion in a normal annotation or single value annotation before (, eg @MyAnnota|tion(value = 1), now tries to complete the annotation name rather than the annotation members

Fixes #930

- fix duplicates in annotation members
- fix range for annotation members
- fix type of annotation member completions
- opening completion in a normal annotation or single value annotation
  before `(`, eg `@MyAnnota|tion(value = 1)`,
  now tries to complete the annotation name rather than the annotation
  members

Fixes eclipse-jdt#930

Signed-off-by: David Thompson <[email protected]>
@datho7561
Copy link
Author

should fix a bit over 20 completion cases

@datho7561 datho7561 merged commit 47314c9 into eclipse-jdtls:dom-with-javac Nov 8, 2024
5 of 6 checks passed
@datho7561 datho7561 deleted the dom-with-javac-duplicate-annotation-member-completion branch November 8, 2024 16:22
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.

Duplicate completion entries for normal annotation fields in vscode-java
1 participant