angular-cn/packages/language-service/test
ayazhafiz 47a1811e0b feat(language-service): modularize error messages (#35678)
This commit performs a modularization of the Language Service's existing
diagnostic messages. Such a modularization has two primary advantages:

- Centralization and decoupling of error messages from the code that
  generates them makes it easy to add/delete/edit diagnostic messages,
  and allows for independent iteration of diagnostic messages and
  diagnostic generation.
- Prepares for additional features like annotating the locations where a
  diagnostic is generated and enabling the configuration of which
  diagnostics should be reported by the language service.

Although it would be preferable to place the diagnostics registry in an
independent JSON file, for ease of typing diagnostic types as an enum
variant of 'ts.DiagnosticCategory', the registry is stored as an object.

Part of #32663.

PR Close #35678
2020-03-03 08:49:34 -08:00
..
project fix(language-service): infer context type of structural directives (#35537) (#35561) 2020-02-21 09:11:54 -08:00
BUILD.bazel feat(language-service): modularize error messages (#35678) 2020-03-03 08:49:34 -08:00
completions_spec.ts fix(language-service): provide completions for the structural directive that only injects the 'ViewContainerRef' (#35466) 2020-02-20 15:12:50 -08:00
definitions_spec.ts fix(language-service): prune duplicate returned definitions (#34995) 2020-01-29 12:21:04 -08:00
diagnostic_messages_spec.ts feat(language-service): modularize error messages (#35678) 2020-03-03 08:49:34 -08:00
diagnostics_spec.ts feat(language-service): modularize error messages (#35678) 2020-03-03 08:49:34 -08:00
expression_diagnostics_spec.ts feat(language-service): modularize error messages (#35678) 2020-03-03 08:49:34 -08:00
global_symbols_spec.ts refactor(compiler-cli): Move diagnostics files to language service (#33809) 2019-11-14 09:29:07 -08:00
hover_spec.ts refactor(language-service): normalize hover tests (#35656) 2020-02-26 12:57:49 -08:00
html_info_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
language_service_spec.ts refactor(language-service): Consistent naming between ts and ng LanguageService (#34888) 2020-01-22 14:36:04 -05:00
mocks.ts refactor(language-service): cleanup of low-hanging TODOs (#34784) 2020-01-21 13:09:30 -05:00
reflector_host_spec.ts test(language-service): remove MockData from MockTypescriptHost (#32752) 2019-09-18 15:29:25 -07:00
template_spec.ts test(language-service): remove MockData from MockTypescriptHost (#32752) 2019-09-18 15:29:25 -07:00
test_utils.ts fix(language-service): Recompute analyzed modules only when source files change (#33806) 2019-11-15 10:42:09 -08:00
ts_plugin_spec.ts fix(language-service): Remove getExternalFiles() (#34260) 2019-12-05 13:13:20 -08:00
typescript_host_spec.ts refactor(language-service): Avoid leaking host outside of LanguageService (#34941) 2020-01-24 15:53:52 -08:00
typescript_symbols_spec.ts fix(compiler-cli): Refactor getTsTypeFromBuiltinType (#33778) 2019-11-15 10:43:41 -08:00
utils_spec.ts refactor(language-service): normalize hover tests (#35656) 2020-02-26 12:57:49 -08:00