angular-docs-cn/packages/language-service/ivy
Andrew Scott 5bda62c51d refactor(language-service): Return directive defs when input name is part of selector (#39243)
When an input name is part of the directive selector, it would be good to return the directive as well
when performing 'go to definition' or 'go to type definition'. As an example, this would allow
'go to type definition' for ngIf to take the user to the NgIf directive.
'Go to type definition' would otherwise return no results because the
input is a generic type. This would also be the case for all primitive
input types.

PR Close #39243
2020-10-15 14:17:24 -07:00
..
test refactor(language-service): Return directive defs when input name is part of selector (#39243) 2020-10-15 14:17:24 -07:00
BUILD.bazel refactor(compiler-cli): implement `DeclarationNode` node type (#38959) 2020-10-12 08:32:46 -07:00
compiler_factory.ts fix(language-service): [Ivy] create compiler only when program changes (#39231) 2020-10-14 14:10:37 -07:00
definitions.ts refactor(language-service): Return directive defs when input name is part of selector (#39243) 2020-10-15 14:17:24 -07:00
hybrid_visitor.ts refactor(language-service): Return directive defs when input name is part of selector (#39243) 2020-10-15 14:17:24 -07:00
language_service.ts fix(language-service): [Ivy] create compiler only when program changes (#39231) 2020-10-14 14:10:37 -07:00
language_service_adapter.ts fix(language-service): [Ivy] create compiler only when program changes (#39231) 2020-10-14 14:10:37 -07:00
quick_info.ts feat(language-service): Add getTypeDefinitionAtPosition (go to type definition) (#39145) 2020-10-09 10:57:37 -07:00
ts_plugin.ts feat(language-service): Add getTypeDefinitionAtPosition (go to type definition) (#39145) 2020-10-09 10:57:37 -07:00
utils.ts refactor(language-service): Return directive defs when input name is part of selector (#39243) 2020-10-15 14:17:24 -07:00