angular-cn/packages/language-service/ivy/test/legacy
Alex Rickabaugh d85e74e05c refactor(language-service): specifically identify empty argument positions (#41581)
This commit changes `getTemplateAtTarget` to be able to identify when a
cursor position is specifically within the argument span of a `MethodCall`
or `SafeMethodCall` with no arguments. If the call had arguments, one of the
argument expressions would be returned instead, but in a call with no
arguments the tightest node _is_ the `MethodCall`. Adding the additional
argument context will allow for functionality that relies on tracking
argument positions, like `getSignatureHelpItems`.

PR Close #41581
2021-04-13 12:39:17 -07:00
..
BUILD.bazel feat(language-service): Add diagnostics to suggest turning on strict mode (#40423) 2021-01-25 14:17:31 -08:00
compiler_factory_spec.ts test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
definitions_spec.ts fix(language-service): Add plugin option to force strictTemplates (#41062) 2021-03-03 09:48:06 -08:00
diagnostic_spec.ts fix(language-service): Add plugin option to force strictTemplates (#41062) 2021-03-03 09:48:06 -08:00
language_service_spec.ts refactor(language-service): stop tracking lastKwownProgram in CompilerFactory (#41517) 2021-04-09 07:46:12 -07:00
mock_host.ts feat(language-service): Add diagnostics to suggest turning on strict mode (#40423) 2021-01-25 14:17:31 -08:00
mock_host_spec.ts test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
template_target_spec.ts refactor(language-service): specifically identify empty argument positions (#41581) 2021-04-13 12:39:17 -07:00
test_utils.ts test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
ts_plugin_spec.ts fix(language-service): Add plugin option to force strictTemplates (#41062) 2021-03-03 09:48:06 -08:00
type_definitions_spec.ts fix(language-service): Add plugin option to force strictTemplates (#41062) 2021-03-03 09:48:06 -08:00