Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[ty] Support type aliases in document symbols#25302

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

[ty] Support type aliases in document symbols#25302
MichaReiser merged 1 commit into
mainfrom
micha/type-alias-symbol-visitor

Conversation

@MichaReiser

@MichaReiser MichaReiser commented May 21, 2026

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 astral-sh-bot Bot added server Related to the LSP server ty Multi-file analysis & type inference labels May 21, 2026
@MichaReiser MichaReiser changed the title [ty] Index type aliases as symbols [ty] Support type aliases in completions May 21, 2026
@MichaReiser MichaReiser changed the title [ty] Support type aliases in completions [ty] Support type aliases in document symbols May 21, 2026
@MichaReiser 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 MichaReiser force-pushed the micha/type-alias-symbol-visitor branch from 1ae1518 to 745365f Compare May 22, 2026 08:49
@MichaReiser MichaReiser marked this pull request as ready for review May 22, 2026 08:50
@astral-sh-bot astral-sh-bot Bot requested a review from charliermarsh May 22, 2026 08:50
@MichaReiser MichaReiser enabled auto-merge (squash) May 22, 2026 08:50
@MichaReiser MichaReiser merged commit 539512a into main May 22, 2026
50 of 51 checks passed
@MichaReiser 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server Related to the LSP server ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants