angular-docs-cn/packages/language-service/ivy/test
Andrew Scott 8a1c98c5e8 refactor(compiler-cli): add keySpan to reference nodes (#39616)
Similar to #39613, #39609, and #38898, we should store the `keySpan` for
Reference nodes so that we can accurately map from a template node to a
span in the original file. This is most notably an issue at the moment
for directive references `#ref="exportAs"`. The current behavior for the
language service when requesting information for the reference
is that it will return a text span that results in
highlighting the entire source when it should only highlight "ref" (test
added for this case as well).

PR Close #39616
2020-11-12 15:12:53 -08:00
..
BUILD.bazel feat(language-service): introduce hybrid visitor to locate AST node (#38540) 2020-08-24 09:24:18 -07:00
compiler_factory_spec.ts test(language-service): wrap setup() in beforeAll to speed up fit() test (#39305) 2020-10-16 12:33:36 -07:00
definitions_spec.ts refactor(compiler-cli): add keySpan to reference nodes (#39616) 2020-11-12 15:12:53 -08:00
diagnostic_spec.ts test(language-service): wrap setup() in beforeAll to speed up fit() test (#39305) 2020-10-16 12:33:36 -07:00
language_service_adapter_spec.ts test(language-service): wrap setup() in beforeAll to speed up fit() test (#39305) 2020-10-16 12:33:36 -07:00
language_service_spec.ts test(language-service): wrap setup() in beforeAll to speed up fit() test (#39305) 2020-10-16 12:33:36 -07:00
mock_host.ts Revert "test(language-service): Make project service a singleton (#39308)" (#39322) 2020-10-19 09:25:19 -07:00
mock_host_spec.ts test(language-service): wrap setup() in beforeAll to speed up fit() test (#39305) 2020-10-16 12:33:36 -07:00
quick_info_spec.ts refactor(compiler-cli): add keySpan to reference nodes (#39616) 2020-11-12 15:12:53 -08:00
template_target_spec.ts refactor(language-service): refactor `HybridVisitor` and expand its capabilities (#39505) 2020-11-02 10:29:50 -08:00
test_utils.ts feat(language-service): Add getTypeDefinitionAtPosition (go to type definition) (#39145) 2020-10-09 10:57:37 -07:00
type_definitions_spec.ts test(language-service): wrap setup() in beforeAll to speed up fit() test (#39305) 2020-10-16 12:33:36 -07:00