angular-cn/packages/language-service/ivy
Zach Arend db97453ca0 refactor(compiler-cli): move template parse errors to TemplateData (#40026)
Durring analysis we find template parse errors. This commit changes
where the type checking context stores the parse errors. Previously, we
stored them on the AnalysisOutput this commit changes the errors to be
stored on the TemplateData (which is a property on the shim). That way,
the template parse errors can be grouped by template.

Previously, if a template had a parse error, we poisoned the module and
would not procede to find typecheck errors. This change does not poison
modules whose template have typecheck errors, so that ngtsc can emit
typecheck errors for templates with parse errors.

Additionally, all template diagnostics are produced in the same place.
This allows requesting just the template template diagnostics or just
other types of errors.

PR Close #40026
2020-12-15 13:30:52 -08:00
..
test refactor(compiler-cli): move template parse errors to TemplateData (#40026) 2020-12-15 13:30:52 -08:00
BUILD.bazel feat(language-service): complete attributes on elements (#40032) 2020-12-14 12:08:41 -08:00
adapters.ts refactor(language-service): language_service_adapter -> adapters (#39619) 2020-11-17 14:45:09 -08:00
attribute_completions.ts feat(language-service): completions for structural directives (#40032) 2020-12-14 12:08:41 -08:00
compiler_factory.ts fix(compiler-cli): track poisoned scopes with a flag (#39923) 2020-12-03 13:42:13 -08:00
completions.ts feat(language-service): completions for structural directives (#40032) 2020-12-14 12:08:41 -08:00
definitions.ts refactor(language-service): add context to template target system (#40032) 2020-12-14 12:08:40 -08:00
display_parts.ts feat(language-service): complete attributes on elements (#40032) 2020-12-14 12:08:41 -08:00
language_service.ts feat(language-service): complete attributes on elements (#40032) 2020-12-14 12:08:41 -08:00
quick_info.ts refactor(compiler-cli): Enable pipe information when checkTypeOfPipes=false (#39555) 2020-12-11 16:19:15 -08:00
references.ts refactor(language-service): add context to template target system (#40032) 2020-12-14 12:08:40 -08:00
template_target.ts feat(language-service): complete attributes on elements (#40032) 2020-12-14 12:08:41 -08:00
ts_plugin.ts feat(language-service): implement autocompletion for global properties (Ivy) (#39250) 2020-12-04 10:19:45 -08:00
ts_utils.ts refactor(language-service): Use compiler APIs in Ivy to get definitions for external resources (#39476) 2020-11-06 09:17:33 -08:00
utils.ts feat(language-service): complete attributes on elements (#40032) 2020-12-14 12:08:41 -08:00