-
Notifications
You must be signed in to change notification settings - Fork 28
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
Support for textDocument/InlayHint
#474
Conversation
1b7d48c
to
6231a1d
Compare
4e2aa57
to
662f6d0
Compare
@@ -10,7 +10,7 @@ | |||
"license": "Apache-2.0", | |||
"bugs": "https://github.com/redhat-developer/vscode-quarkus/issues", | |||
"engines": { | |||
"vscode": "^1.37.0" | |||
"vscode": "^1.65.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most likely will be incompatible with theia
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benoitf what's the max vscode engine version compatible with theia?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most likely will be incompatible with theia
please note vscode-java have a PR to support Inlay Hint too, and they did that too https://github.com/redhat-developer/vscode-java/pull/2354/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's not supported currently. https://eclipse-theia.github.io/vscode-theia-comparator/status.html .
Also, from redhat-developer/vscode-java#2183 (review), looks like updating the engine itself should not be harmful to Theia. Just have to ensure you don't call API that doesn't exist.
Update : According to https://github.com/eclipse-theia/theia/blob/master/dev-packages/application-package/src/api.ts#L21, should be 1.53.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also see https://github.com/redhat-developer/vscode-java/pull/1975/files for how to adopt new API while still being compatible with older engines.
efa489c
to
4e91fa9
Compare
4313ac8
to
51746b6
Compare
See redhat-developer/quarkus-ls#595 Signed-off-by: azerr <azerr@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, setting works as intended
Thanks @AlexXuChen for the review! |
Support for
textDocument/InlayHint
See redhat-developer/quarkus-ls#595
Signed-off-by: azerr azerr@redhat.com