Microsoft/TypeScript

DefinitionResponse selects full type range

Open

#8,808 opened on May 25, 2016

View on GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (48,455 stars) (6,726 forks)batch import
Domain: APIHelp WantedSuggestion

Description

When sending a definition request to the tsserver, the response contains a range selection of the whole type. For UX proposes it would be better to either select only the identifying portion, like a type name, or additional include such an identifying range.

See https://github.com/Microsoft/vscode/issues/6772 for some background.

Contributor guide