angular-cn/packages/language-service/src
ayazhafiz 15b4173a76 refactor(language-service): create attr for missing attr, bound tmpl (#34743)
Currently the language service constructs an `AttrAst` anytime it is
missing from a `TemplateAst` path. However, this should only be done
when the path does not contain an "attribute-like" AST, which can
includes bound properties or bound events.

This commit also refactors `visitAttr` to parse bindings only for
microsyntax expressions and does some other minor cleanup to make
linters happy.

This is some cleanup to help the language service eventually use
`BoundDirectivePropertyAst`s for providing completions for template
bindings rather than performing the manual parsing currently done.

PR Close #34743
2020-01-13 15:04:37 -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): create attr for missing attr, bound tmpl (#34743) 2020-01-13 15:04:37 -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): CRLF offset in inline template (#34737) 2020-01-13 07:16:50 -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