mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, autocompletions were not available in two main cases. We correct them. 1. Autocompletions immediately after `@` were usually not working, for example `foo @|`. We fix this by causing the lexer to not consider the `@` part of the text node. 2. Autocompletions such as `@\nfoo`, where a newline follows a bare `@`, were not working because the language service visitor considered us inside the subsequent text node. We fix this by adding a block name span for the block keyword, and special-case whether we are completing inside the name span. If we are, we don't continue to the following text node. PR Close #52198 |
||
|---|---|---|
| .. | ||
| legacy | ||
| adapters_spec.ts | ||
| BUILD.bazel | ||
| code_fixes_spec.ts | ||
| compiler_spec.ts | ||
| completions_spec.ts | ||
| definitions_spec.ts | ||
| diagnostic_spec.ts | ||
| get_outlining_spans_spec.ts | ||
| get_template_location_for_component_spec.ts | ||
| gettcb_spec.ts | ||
| quick_info_spec.ts | ||
| references_and_rename_spec.ts | ||
| signature_help_spec.ts | ||
| ts_utils_spec.ts | ||
| type_definitions_spec.ts | ||