Skip to content

Conversation

MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Jul 28, 2025

Summary

Fixes astral-sh/ty#907

The implementation now creates the models when maping the navigation targets.
This is also closer to what we do in the LSP server.

Test Plan

Screen.Recording.2025-07-28.at.09.45.20.mov

@MichaReiser MichaReiser changed the title [ty] Fix definition peek [ty] Fix "peek definition" in playground Jul 28, 2025
@MichaReiser MichaReiser added bug Something isn't working playground A playground-specific issue labels Jul 28, 2025
@MichaReiser MichaReiser force-pushed the fix/peek-definition-empty-previews branch from 8e33a99 to e5b0587 Compare July 28, 2025 07:48
Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you!

@MichaReiser MichaReiser merged commit 8c0743d into main Jul 28, 2025
35 checks passed
@MichaReiser MichaReiser deleted the fix/peek-definition-empty-previews branch July 28, 2025 08:13
@ntBre ntBre added the ty Multi-file analysis & type inference label Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playground A playground-specific issue ty Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty preview window when jumping to definition of dataclasses.field
3 participants