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

Update CompletionItemKinds for annotation attributes and records #2796

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented Aug 11, 2023

Following the remark on redhat-developer/vscode-java#3242 (comment), I'm updating the Annotation attritbutes to use the CompletionItemKind.Property kind.
Before:
Screenshot 2023-08-11 at 16 02 17

After:
Screenshot 2023-08-11 at 15 08 53

As well as use the more apt CompletionItemKind.Struct kind for records
Before:
Screenshot 2023-08-11 at 16 05 00

After:
Screenshot 2023-08-11 at 15 12 13

Signed-off-by: Fred Bricon <fbricon@gmail.com>
Copy link
Contributor

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corresponding PR check at https://ci.eclipse.org/ls/job/jdt-ls-pr/4478/ . Overall the change looks good. The annotation parameter kind is particularly nice.

@rgrunber rgrunber merged commit fb587c3 into eclipse-jdtls:master Aug 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants