angular/packages
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
..
animations test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
bazel feat(bazel): make forbidOrphanComponents option configurable (#52061) 2023-10-10 15:30:26 -07:00
benchpress test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
common refactor(core): use performance API for hydration-related features (#52288) 2023-10-23 09:29:36 -07:00
compiler fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
compiler-cli fix(compiler): template type checking not reporting diagnostics for incompatible type comparisons (#52322) 2023-10-23 09:27:23 -07:00
core refactor(core): defer triggers cleanup (#52291) 2023-10-23 12:00:18 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements build: add targets for api doc generation (#52034) 2023-10-10 16:18:50 -07:00
examples docs(forms): replace fb with formBuilder (#52261) 2023-10-19 09:24:39 -07:00
forms test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
language-service fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
localize build: update babel dependencies to v7.23.2 (#52236) 2023-10-17 18:11:09 +02:00
misc/angular-in-memory-web-api docs: update invalid links to the new http guides (#49456) 2023-06-22 17:06:59 -07:00
platform-browser test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
platform-browser-dynamic test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
platform-server refactor(core): use performance API for hydration-related features (#52288) 2023-10-23 09:29:36 -07:00
private/testing fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
router fix(router): Ensure newly resolved data is inherited by child routes (#52167) 2023-10-19 10:26:27 -07:00
service-worker test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
upgrade test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
zone.js test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
BUILD.bazel build(bazel): list docs entrypoints under packages to simplify docgen 2022-11-22 13:51:16 -07:00
circular-deps-test.conf.js build: ignore type only imports/exports for circular dependency checks (#47017) 2022-08-18 12:06:09 -07:00
empty.ts
goog.d.ts refactor(core): replace references to goog.LOCALE with goog.getLocale() (#43089) 2021-08-10 10:35:26 -07:00
license-banner.txt build: bump license year (#44590) 2022-01-04 12:05:25 -08:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
tsconfig-test.json build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT