Skip to content

Conversation

@MatthewMckee4
Copy link
Contributor

@MatthewMckee4 MatthewMckee4 commented Dec 26, 2025

Summary

Previously, we thought this didn't work.

It does, we were just using the wrong variable from LocationLink. Range for some reason points roughly to the current location, or the start of the inlay hint label part.

Now we use targetSelectionRange, which is what we always needed.

Mentioned in astral-sh/ty#2204

Test Plan

Screencast_20251226_014911.webm

This does not work at all at play.ty.dev

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.

1 participant