FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[ty] Support type aliases in document symbols by MichaReiser · Pull Request #25302 · astral-sh/ruff · GitHub

Repository navigation

[ty] Support type aliases in document symbols - #25302

Merged
MichaReiser merged 1 commit into
mainfrom
micha/type-alias-symbol-visitor
May 22, 2026
Merged

MichaReiser merged 1 commit into
mainfrom
micha/type-alias-symbol-visitor

Conversation

MichaReiser commented May 21, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Summary

  • teach the ty_ide symbol visitor to index PEP 695 type alias statements
  • cover type aliases in exported-symbol discovery and document-symbol output

Addresses the type alias item in astral-sh/ty#1771

astral-sh-bot Bot added server Related to the Ruff or ty LSP server ty The ty type checker labels May 21, 2026
MichaReiser changed the title [ty] Index type aliases as symbols [ty] Support type aliases in completions May 21, 2026
MichaReiser changed the title [ty] Support type aliases in completions [ty] Support type aliases in document symbols May 21, 2026
MichaReiser force-pushed the micha/type-alias-symbol-visitor branch 3 times, most recently from 994ca89 to 1ae1518 Compare May 22, 2026 08:41
MichaReiser force-pushed the micha/type-alias-symbol-visitor branch from 1ae1518 to 745365f Compare May 22, 2026 08:49
MichaReiser marked this pull request as ready for review May 22, 2026 08:50
astral-sh-bot Bot requested a review from charliermarsh May 22, 2026 08:50
MichaReiser enabled auto-merge (squash) May 22, 2026 08:50
MichaReiser merged commit 539512a into main May 22, 2026
50 of 51 checks passed
MichaReiser deleted the micha/type-alias-symbol-visitor branch May 22, 2026 08:58
thejchap pushed a commit to thejchap/ruff that referenced this pull request May 23, 2026
## Summary

- teach the `ty_ide` symbol visitor to index PEP 695 type alias
statements
- cover type aliases in exported-symbol discovery and document-symbol
output


Addresses the type alias item in
astral-sh/ty#1771
anishgirianish pushed a commit to anishgirianish/ruff that referenced this pull request May 28, 2026
## Summary

- teach the `ty_ide` symbol visitor to index PEP 695 type alias
statements
- cover type aliases in exported-symbol discovery and document-symbol
output


Addresses the type alias item in
astral-sh/ty#1771
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server Related to the Ruff or ty LSP server ty The ty type checker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL