angular-cn/integration/language_service_plugin/goldens
Keen Yee Liau f6e88cd659 fix(language-service): Use ts.CompletionEntry for completions (#32375)
This is a prerequisite to fix a bug in template completions whereby
completion of the string `ti` for the variable `title` results in
`tititle`.

This is because the position where the completion is requested is used
to insert the completion text. This is incorrect. Instead, a
`replacementSpan` should be used to indicate the span of text that needs
to be replaced. Angular's own `Completion` interface is insufficient to
hold this information. Instead, we should just use ts.CompletionEntry.

Also added string enum for `CompletionKind`, which is similar to
ts.ScriptElementKind but contains more info about HTML entities.

PR Close #32375
2019-09-04 11:53:14 -07:00
..
compilerOptionsForInferredProjects.json test(language-service): Improve integration test (#28168) 2019-01-17 14:11:28 -08:00
completionInfo.json fix(language-service): Use ts.CompletionEntry for completions (#32375) 2019-09-04 11:53:14 -07:00
configure.json test(language-service): Improve integration test (#28168) 2019-01-17 14:11:28 -08:00
definition.json test(language-service): Add tests for quickinfo and definition (#29990) 2019-04-19 19:28:46 -07:00
definitionAndBoundSpan.json fix(language-service): Make Definition and QuickInfo compatible with TS LS (#31972) 2019-08-08 12:00:56 -07:00
quickinfo.json fix(language-service): Make Definition and QuickInfo compatible with TS LS (#31972) 2019-08-08 12:00:56 -07:00
templateUrlDefinition.json feat(language-service): add definitions for templateUrl (#32238) 2019-08-28 17:09:46 -07:00