Skip to content

Fix Go to Super Implementation hover link not clickable (#4438)#4440

Merged
datho7561 merged 1 commit into
redhat-developer:mainfrom
wenytang-ms:fix/hover-super-impl-link-4438
Jun 29, 2026
Merged

Fix Go to Super Implementation hover link not clickable (#4438)#4440
datho7561 merged 1 commit into
redhat-developer:mainfrom
wenytang-ms:fix/hover-super-impl-link-4438

Conversation

@wenytang-ms

@wenytang-ms wenytang-ms commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

The command-link sanitization added in fixJdtSchemeHoverLinks stripped all label links, including the trusted ones the extension contributes (e.g. Go to Super Implementation). Skip sanitizing trusted contributed content; only untrusted server Javadoc is sanitized.

only affected to "Java: Go to Super Implementation" hover.

before
image

after
image

relative issue #4438
relative PR #4429

@wenytang-ms wenytang-ms force-pushed the fix/hover-super-impl-link-4438 branch from 775f4e2 to a4cfa9f Compare June 29, 2026 06:30
…oper#4438)

The command-link sanitization added in fixJdtSchemeHoverLinks stripped all [label](command:...) links, including the trusted ones the extension contributes (e.g. Go to Super Implementation). Skip sanitizing trusted contributed content; only untrusted server Javadoc is sanitized. Add unit tests covering the hover link sanitization.
@wenytang-ms wenytang-ms force-pushed the fix/hover-super-impl-link-4438 branch from a4cfa9f to ea2a051 Compare June 29, 2026 06:48
@wenytang-ms

Copy link
Copy Markdown
Contributor Author

@datho7561 @jjohnstn please help review this PR, thanks!

@datho7561 datho7561 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good from my testing. Thanks, @wenytang-ms !

@datho7561 datho7561 merged commit 1be4fb6 into redhat-developer:main Jun 29, 2026
2 checks passed
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.

2 participants