angular-docs-cn/packages/language-service/src
ayazhafiz 4d95c3d39a refactor(language-service): rename expression completions method (#34518)
This commit renames `addAttributeValuesToCompletions`, which generates
expression completions and is not exclusive to processing attributes, to
`processExpressionCompletions`. Also removes the expression completion
logic in `visitBoundText` for a call to `processExpressionCompletions`.

The conditional branch in `visitBoundText` is also removed. This branch
was added in one of the first commits to the language service
(519a324454) and appears to be
unnecessary, as the expression AST is constructed from the template
position anyway.

PR Close #34518
2020-01-10 08:31:09 -08:00
..
common.ts fix(language-service): Do not produce diagnostics if metadata for NgModule not found (#34113) 2019-12-02 11:13:41 -08:00
completions.ts refactor(language-service): rename expression completions method (#34518) 2020-01-10 08:31:09 -08:00
definitions.ts feat(language-service): add definitions for styleUrls (#32464) 2019-09-09 16:04:14 -04:00
diagnostics.ts fix(language-service): Make missing module suggestion instead of error (#34115) 2019-12-02 11:19:40 -08:00
expression_diagnostics.ts fix(language-service): HTML path should include last node before cursor (#34440) 2019-12-16 14:12:36 -08:00
expression_type.ts feat(language-service): Show documentation on hover (#34506) 2020-01-06 11:36:57 -08:00
expressions.ts refactor(compiler-cli): Move diagnostics files to language service (#33809) 2019-11-14 09:29:07 -08:00
global_symbols.ts feat(language-service): Show documentation on hover (#34506) 2020-01-06 11:36:57 -08:00
hover.ts feat(language-service): Show documentation on hover (#34506) 2020-01-06 11:36:57 -08:00
html_info.ts refactor(language-service): use strict comparisons (#33114) 2019-10-17 21:19:02 -04:00
language_service.ts fix(language-service): Do not produce diagnostics if metadata for NgModule not found (#34113) 2019-12-02 11:13:41 -08:00
locate_symbol.ts feat(language-service): Show documentation on hover (#34506) 2020-01-06 11:36:57 -08:00
reflector_host.ts fix(language-service): Use tsLSHost.fileExists() to resolve modules (#32642) 2019-09-12 17:18:06 -07:00
symbols.ts feat(language-service): Show documentation on hover (#34506) 2020-01-06 11:36:57 -08:00
template.ts fix(language-service): Do not produce diagnostics if metadata for NgModule not found (#34113) 2019-12-02 11:13:41 -08:00
ts_plugin.ts fix(language-service): Remove getExternalFiles() (#34260) 2019-12-05 13:13:20 -08:00
types.ts fix(language-service): Remove getExternalFiles() (#34260) 2019-12-05 13:13:20 -08:00
typescript_host.ts fix(language-service): do not use an i18n parser for templates (#34531) 2020-01-10 08:23:08 -08:00
typescript_symbols.ts feat(language-service): Show documentation on hover (#34506) 2020-01-06 11:36:57 -08:00
utils.ts fix(language-service): Proper completions for properties and events (#34445) 2019-12-18 09:13:31 -08:00
version.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00