Skip to content

Support for textDocument/InlayHint#474

Merged
angelozerr merged 1 commit intoredhat-developer:masterfrom
angelozerr:inlayhint
Apr 1, 2022
Merged

Support for textDocument/InlayHint#474
angelozerr merged 1 commit intoredhat-developer:masterfrom
angelozerr:inlayhint

Conversation

@angelozerr
Copy link
Copy Markdown
Contributor

@angelozerr angelozerr commented Mar 11, 2022

Support for textDocument/InlayHint

See redhat-developer/quarkus-ls#595

Signed-off-by: azerr azerr@redhat.com

@angelozerr angelozerr force-pushed the inlayhint branch 2 times, most recently from 1b7d48c to 6231a1d Compare March 13, 2022 06:08
@angelozerr angelozerr changed the title Inlay hint Support for textDocument/InlayHint Mar 13, 2022
@angelozerr angelozerr force-pushed the inlayhint branch 4 times, most recently from 4e2aa57 to 662f6d0 Compare March 14, 2022 05:35
Comment thread package.json
"bugs": "https://github.com/redhat-developer/vscode-quarkus/issues",
"engines": {
"vscode": "^1.37.0"
"vscode": "^1.65.0"
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator

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?

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Member

@rgrunber rgrunber Mar 14, 2022

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

Copy link
Copy Markdown
Member

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.

@angelozerr angelozerr marked this pull request as ready for review March 14, 2022 09:51
@angelozerr angelozerr force-pushed the inlayhint branch 2 times, most recently from efa489c to 4e91fa9 Compare March 18, 2022 20:44
@angelozerr angelozerr force-pushed the inlayhint branch 3 times, most recently from 4313ac8 to 51746b6 Compare April 1, 2022 09:20
See redhat-developer/quarkus-ls#595

Signed-off-by: azerr <azerr@redhat.com>
Copy link
Copy Markdown
Contributor

@AlexXuChen AlexXuChen left a 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

@angelozerr angelozerr merged commit f0f873f into redhat-developer:master Apr 1, 2022
@angelozerr
Copy link
Copy Markdown
Contributor Author

Thanks @AlexXuChen for the review!

@angelozerr angelozerr added this to the 1.11.0 milestone Apr 1, 2022
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.

4 participants