angular-docs-cn/packages/language-service/test
ayazhafiz 46caf88b2c feat(language-service): add definitions for templateUrl (#32238)
Adds support for `getDefinitionAt` when called on a templateUrl
property assignment.

The currrent architecture for getting definitions is designed to be
called on templates, so we have to introduce a new
`getTsDefinitionAndBoundSpan` method to get Angular-specific definitions
in TypeScript files and pass a `readTemplate` closure that will read the
contents of a template using `TypeScriptServiceHost#getTemplates`. We
can probably go in and make this nicer in a future PR, though I'm not
sure what the best architecture should be yet.

Part of angular/vscode-ng-language-service#111

PR Close #32238
2019-08-28 17:09:46 -07:00
..
BUILD.bazel build: update rules_nodejs and clean up bazel warnings (#30370) 2019-05-14 10:08:45 -07:00
completions_spec.ts refactor(language-service): Return ts.CompletionInfo for getCompletionsAt() (#32116) 2019-08-14 14:09:51 -07:00
definitions_spec.ts feat(language-service): add definitions for templateUrl (#32238) 2019-08-28 17:09:46 -07:00
diagnostics_spec.ts test(language-service): Add test for CRLF line endings (#32245) 2019-08-21 15:21:09 -07:00
hover_spec.ts fix(language-service): Make Definition and QuickInfo compatible with TS LS (#31972) 2019-08-08 12:00:56 -07: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: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
reflector_host_spec.ts fix(language-service): Remove 'context' used for module resolution (#32015) 2019-08-13 11:19:18 -07:00
template_references_spec.ts refactor(language-service): Remove NgLSHost -> NgLS dependency (#31122) 2019-06-19 15:19:56 -07:00
template_spec.ts refactor(language-service): add generic decorator property verifications (#32252) 2019-08-22 16:04:14 -07:00
test_data.ts fix(language-service): Make Definition and QuickInfo compatible with TS LS (#31972) 2019-08-08 12:00:56 -07:00
test_utils.ts test(language-service): Fix diagnostic tests (#32161) 2019-08-16 15:26:05 -07:00
ts_plugin_spec.ts feat(language-service): Introduce 'angularOnly' flag (#31935) 2019-08-01 17:43:21 -07:00
typescript_host_spec.ts refactor(language-service): Differentiate Inline and External template (#32127) 2019-08-15 10:04:17 -07:00
utils_spec.ts refactor(language-service): Omit typechecking for finding directives (#32156) 2019-08-16 09:58:28 -07:00