-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[ty] Added support for "go to references" in ty playground. #19516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
UnboundVariable
merged 2 commits into
astral-sh:main
from
UnboundVariable:playground_refs
Jul 24, 2025
Merged
[ty] Added support for "go to references" in ty playground. #19516
UnboundVariable
merged 2 commits into
astral-sh:main
from
UnboundVariable:playground_refs
Jul 24, 2025
+58
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
MichaReiser
approved these changes
Jul 24, 2025
UnboundVariable
pushed a commit
to UnboundVariable/ruff
that referenced
this pull request
Jul 24, 2025
…hlight * 'main' of https://github.com/astral-sh/ruff: [ty] Minor: fix incomplete docstring (astral-sh#19534) [ty] Move server tests as integration tests (astral-sh#19522) [`ruff`] Offer fixes for `RUF039` in more cases (astral-sh#19065) [ty] Support `dataclasses.InitVar` (astral-sh#19527) [`ruff`] Fix `RUF033` breaking with named default expressions (astral-sh#19115) Update pre-commit hook name (astral-sh#19530) Bump 0.12.5 (astral-sh#19528) [ty] Rename type_api => ty_extensions (astral-sh#19523) [ty] Added support for "go to references" in ty playground. (astral-sh#19516) [ty] Return a tuple spec from the iterator protocol (astral-sh#19496) [ty] Exhaustiveness checking & reachability for `match` statements (astral-sh#19508) [ty] Fix narrowing and reachability of class patterns with arguments (astral-sh#19512)
UnboundVariable
pushed a commit
to UnboundVariable/ruff
that referenced
this pull request
Jul 24, 2025
* main: [ty] Added support for "document highlights" language server feature. (astral-sh#19515) Add support for specifying minimum dots in detected string imports (astral-sh#19538) [ty] Minor: fix incomplete docstring (astral-sh#19534) [ty] Move server tests as integration tests (astral-sh#19522) [`ruff`] Offer fixes for `RUF039` in more cases (astral-sh#19065) [ty] Support `dataclasses.InitVar` (astral-sh#19527) [`ruff`] Fix `RUF033` breaking with named default expressions (astral-sh#19115) Update pre-commit hook name (astral-sh#19530) Bump 0.12.5 (astral-sh#19528) [ty] Rename type_api => ty_extensions (astral-sh#19523) [ty] Added support for "go to references" in ty playground. (astral-sh#19516) # Conflicts: # crates/ty_server/src/server/api/requests.rs # crates/ty_server/tests/e2e/snapshots/e2e__initialize__initialization.snap # crates/ty_server/tests/e2e/snapshots/e2e__initialize__initialization_with_workspace.snap
sharkdp
added a commit
to astral-sh/ty
that referenced
this pull request
Jul 25, 2025
Changes which I chose not to include; let me know if one of these should be added: ``` - Add warning for unknown `TY_MEMORY_REPORT` value ([#19465](astral-sh/ruff#19465)) - Add goto definition to playground ([#19425](astral-sh/ruff#19425)) - Added support for "go to references" in ty playground. ([#19516](astral-sh/ruff#19516)) - Fall back to `Unknown` if no type is stored for an expression ([#19517](astral-sh/ruff#19517)) - Make `Module` a Salsa ingredient ([#19495](astral-sh/ruff#19495)) - Return a tuple spec from the iterator protocol ([#19496](astral-sh/ruff#19496)) ``` --------- Co-authored-by: Alex Waygood <[email protected]>
AlexWaygood
pushed a commit
that referenced
this pull request
Jul 25, 2025
This PR adds support for "go to references" in the ty playground. <img width="393" height="168" alt="image" src="https://github.com/user-attachments/assets/ce3ae1bf-c17c-4510-9f77-20b10f6170c4" /> --------- Co-authored-by: UnboundVariable <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for "go to references" in the ty playground.