Skip to content

Support (substrings of) string annotations as GotoTargets #1009

@Gankra

Description

@Gankra
x: "int | str"
    ^^^

This would enable:

  • goto-definition
  • goto-declaration
  • goto-type-definition
  • hover-docstrings
  • renames

(Not in scope for this issue but also valuable: semantic tokens, autocomplete)

Metadata

Metadata

Assignees

Labels

serverRelated to the LSP server

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions