Microsoft/TypeScript

DefinitionResponse selects full type range

Aperta

#8808 aperta il 25 mag 2016

 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (13.395 fork)batch import
Domain: APIHelp WantedSuggestion

Metriche repository

Star
 (108.860 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor