Skip to content

Conversation

@rtfeldman
Copy link
Contributor

Closes #ISSUE

Release Notes:

  • N/A or Added/Fixed/Improved ...

rtfeldman and others added 30 commits July 2, 2025 15:50
Co-authored-by: Cole Miller <[email protected]>
When hovering over an inlay hint, point_for_position.as_valid() returns None
because inlays don't have valid text positions. This was causing hover_at(editor, None)
to be called, which would hide any active hovers.

The fix is simple: don't call hover_at when we're over an inlay position.
The inlay hover is already handled by update_hovered_link, so we don't need
to do anything else.
This reverts commit 0bb1a5f.
Co-authored-by: David Kleingeld <[email protected]>
Co-authored-by: David Kleingeld <[email protected]>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Aug 25, 2025
Co-authored-by: David Kleingeld <[email protected]>
@SomeoneToIgnore
Copy link
Contributor

I'm about to merge #40183 today which will make inlays' caching quite different, so seems that this PR has to be re-landed later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants