Support SVG templates
- Dominant language
- TypeScript
- Stars
- 101k
- Forks
- 27.5k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 288
Description
# 🚀 feature request
### Description
In angular it is possible to use SVG as template: https://angular.dev/guide/templates/svg-in-templates.
But currently when having a function binding in the template, there is no 'Go to definition' highlighting.
SVG in HTML template:

SVG in SVG template:

### Feature Type
What does this bug affect
- [x] Angular Language Service VSCode extension
- [x] Angular Language Service server
### Describe the solution you'd like
SVG templates should be supported. The functionality for HTML template like 'Go to definition' should also work for SVG templates.
### Describe alternatives you've considered
-
### Anything else relevant?
-
Contributor guide
Research direction
Start by tracing how the Angular Language Service server and VSCode extension handle HTML template “Go to definition” requests, then compare that path with SVG templates. Done means function bindings inside SVG templates receive the same highlighting and definition navigation as bindings in HTML templates, with the behavior verified in both listed components.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100