mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This feature enables synchronized editing of opening and closing HTML tag pairs in Angular inline templates. When the cursor is on an element tag name, editing it will automatically update the corresponding tag. Implementation: - Add getLinkedEditingRangeAtPosition method to NgLanguageService interface - Implement linked editing range detection for opening and closing tags - Handle edge cases: self-closing elements, void elements, cursor detection - Export through ts_plugin wrapper to override TypeScript JSX-only implementation - For external HTML templates, VS Code built-in HTML support handles linked editing |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| index.ts | ||