angular/packages/compiler/test
Dylan Hunn e6affeff61 fix(language-service): Autocomplete block keywords in more cases (#52198)
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
2023-10-23 12:01:52 -07:00
..
expression_parser test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
i18n test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
ml_parser fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
output test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
render3 refactor(compiler): capture unknown blocks inside switch (#52136) 2023-10-10 11:34:10 -07:00
schema test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
selector test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
shadow_css fix(compiler): apply style on :host attributes in prod builds. (#49118) 2023-10-11 11:32:19 -07:00
BUILD.bazel build: refactor packages/compiler/test to work with ESM (#48521) 2022-12-19 19:50:42 +00:00
compiler_facade_interface_spec.ts feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
integration_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
security_spec.ts fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
style_url_resolver_spec.ts refactor(compiler): make template preparser null-safe (#44411) 2022-01-04 15:54:10 -08:00
util_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00