angular/packages/compiler
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
..
design feat(core): remove entryComponents (#49484) 2023-03-23 10:38:03 -07:00
src fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
test fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
BUILD.bazel refactor(compiler): Delete the @angular/compiler/testing module. (#49872) 2023-10-09 15:58:25 -07:00
compiler.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: remove support for Node.js v16 (#51755) 2023-09-13 10:49:06 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00