angular-cn/packages/language-service/ivy
Andrew Scott 6e4e68cb30 refactor(compiler-cli): Add flag to TCB for non-diagnostic requests (#40071)
The TCB utility functions used to find nodes in the TCB are currently
configured to ignore results when an ignore marker is found. However,
these ignore markers are only meant to affect diagnostics requests. The
Language Service may have a need to find nodes with diagnostic ignore
markers. The most common example of this would be finding references for
generic directives. The reference appears to the generic directive's
class appears on the type ctor in the TCB, which is ignored for
diagnostic purposes.
These functions should only skip results when the request is in the
context of a larger request for _diagnostics_. In all other cases, we
should get matches, even if a diagnostic ignore marker is encountered.

PR Close #40071
2020-12-11 13:56:35 -08:00
..
test refactor(compiler-cli): Add flag to TCB for non-diagnostic requests (#40071) 2020-12-11 13:56:35 -08:00
BUILD.bazel refactor(compiler-cli): provide a host to readConfiguration (#39619) 2020-11-17 14:45:09 -08:00
adapters.ts refactor(language-service): language_service_adapter -> adapters (#39619) 2020-11-17 14:45:09 -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): autocompletion within expression contexts (#39727) 2020-12-10 11:09:53 -08:00
definitions.ts refactor(compiler-cli): Add additional shim locations to reference and variable symbols (#39715) 2020-11-19 12:15:21 -08:00
display_parts.ts refactor(compiler-cli): Add additional shim locations to reference and variable symbols (#39715) 2020-11-19 12:15:21 -08:00
language_service.ts feat(language-service): implement autocompletion for global properties (Ivy) (#39250) 2020-12-04 10:19:45 -08:00
quick_info.ts refactor(compiler-cli): Add additional shim locations to reference and variable symbols (#39715) 2020-11-19 12:15:21 -08:00
references.ts feat(language-service): enable get references for directive and component from template (#40054) 2020-12-10 13:45:40 -08:00
template_target.ts fix(language-service): Prevent matching nodes after finding a keySpan (#40047) 2020-12-10 13:44:18 -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): Add "find references" capability to Ivy integrated LS (#39768) 2020-12-02 12:54:21 -08:00