Skip to content

Add Hover Navigation to Method Refinements#80

Merged
rcosta358 merged 4 commits into
mainfrom
method-definition-location
May 18, 2026
Merged

Add Hover Navigation to Method Refinements#80
rcosta358 merged 4 commits into
mainfrom
method-definition-location

Conversation

@rcosta358
Copy link
Copy Markdown
Collaborator

This PR adds a link to the hover for methods to go to the location where their refinements were defined.

image

Clicking "Show Refinements" opens the file in the method's position.

image

@rcosta358 rcosta358 self-assigned this May 17, 2026
@rcosta358 rcosta358 added the enhancement New feature or request label May 17, 2026
@rcosta358 rcosta358 changed the title Method definition location Add Hover Navigation to Method Refinements May 17, 2026
@rcosta358 rcosta358 requested a review from CatarinaGamboa May 17, 2026 00:04
Copy link
Copy Markdown
Collaborator

@CatarinaGamboa CatarinaGamboa left a comment

Choose a reason for hiding this comment

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

lgtm! is there a way to show it before the end of the file? if the javadoc is very big it might be hidden away at the end of the scroll

Comment thread client/src/services/hover.ts Outdated
@rcosta358
Copy link
Copy Markdown
Collaborator Author

I tried to, but I couldn't find a way to do so. I think the VS Code API does not allow that.

@rcosta358 rcosta358 merged commit 1e940e7 into main May 18, 2026
@rcosta358 rcosta358 deleted the method-definition-location branch May 18, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants