da4eb91283
Adds a `replacementSpan` field on a completion that will allow typed text to be replaced with the suggested completion value if a user selects the completion. Previously, the completion value would simply be appended to the text already typed. E.g. if we had ``` {{ti}} ``` typed in a template and `title` was recommended as a completion and selected, the template would become ``` {{tititle}} ``` With `replacementSpan`, the original text `ti` will be replaced for `title`. PR Close #33091 |
||
---|---|---|
.. | ||
common.ts | ||
completions.ts | ||
definitions.ts | ||
diagnostics.ts | ||
expressions.ts | ||
global_symbols.ts | ||
hover.ts | ||
html_info.ts | ||
language_service.ts | ||
locate_symbol.ts | ||
reflector_host.ts | ||
template.ts | ||
ts_plugin.ts | ||
types.ts | ||
typescript_host.ts | ||
utils.ts | ||
version.ts |