Skip to content

Return LocationLinks to help clients identify the hyperlink source better #31

@rcjsuen

Description

@rcjsuen

LocationLink's originSelectionRange can help the client identify what the textDocument/definition is for. Without it, hyphens (and possibly other characters) can cause clients to highlight the wrong "word" which can confuse the user as to what is going to happen when they click on the "word".

Screen.Recording.2025-04-01.at.13.40.48.mov

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions