You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Highlight Angular Signal Type Variables in Class and Template Files #65498
area: vscode-extensionIssues related to the Angular Language Service VsCode extensionfeatureLabel used to distinguish feature request from other issues
Is your feature request related to a problem? Please describe.
The Angular Language Service in VS Code does not highlight signal type variables in both the class and template files. This makes it harder to tell signal variables apart from regular properties in a project. WebStorm already highlights signals, and this helps with recognizing them quickly.
Feature Type
What does this request affect:
Angular Language Service VSCode extension
Angular Language Service server
Describe the solution you'd like
Add highlighting for signal type variables, both in the class and template files, so it's easy to distinguish them from other variables.
Reacted by 김석래, Anton Gnibeda, Aleksandr Plokhikh, Fjedor Gaede, Matthew Evans, mikedunford, Sven Habex, Sebastian, msvdaamen, Justin McLellan and 19 more
Coming from WebStorm, working with Angular signals in VSCode feels much harder. In WebStorm, signals are visually distinct from functions and properties, and my color scheme (dracula) even shows a difference between when a signal is defined and when it’s used. This makes the lack of clarity in VSCode confusing, especially since signals are such a key feature in modern Angular.
Am I missing something, or is better support planned?
either: add the semantic token related functions to the middleware in the config,
or register a separate SemanticTokensProvider.
I'd love to get feedback on this plan from the maintainers, and hopefully that can help plan out the work for either myself or someone else to get working on this!
Our team has identified a commonly overlooked bug related to improper handling of a signal variable. We believe this solution will help prevent such issues in the future.
Reacted by Nathan Holden, threatlockerbradley and ThreatLockerMatt
area: vscode-extensionIssues related to the Angular Language Service VsCode extensionfeatureLabel used to distinguish feature request from other issues
Activity
FjedorGaede commentedon Dec 19, 2024
Any updates on this?
Coming from WebStorm, working with Angular signals in VSCode feels much harder. In WebStorm, signals are visually distinct from functions and properties, and my color scheme (dracula) even shows a difference between when a signal is defined and when it’s used. This makes the lack of clarity in VSCode confusing, especially since signals are such a key feature in modern Angular.
Am I missing something, or is better support planned?
See my attached screenshots:


Webstorm
VSCode
KirillAdeev commentedon Jan 9, 2025
any news on this?
CactusCorantin commentedon Jan 29, 2025
+1 2025 :)
dtomaszewski commentedon Mar 10, 2025
+1
forivall commentedon Apr 3, 2025
Doing an initial investigation if some enterprising person wants to implement this, I think this would be done with a custom semantic token modifier:
{ "contributes": { "semanticTokenModifiers": [ { "id": "signal", "description": "Annotates a symbol that is a signal" } ] } }To provide the semantic tokens, you would
getEncodedSemanticClassificationswhich does a lookup in typescript's symbol table to a custom modifier with spans forsignal,DocumentSemanticTokensProviderin this extension, (and i'm not sure of this, as i'm just browsing on github and havent clone'd the repo), in https://github.com/angular/vscode-ng-language-service/blob/main/client/src/client.tsmiddlewarein the config,I'd love to get feedback on this plan from the maintainers, and hopefully that can help plan out the work for either myself or someone else to get working on this!
ThreatLockerEthanCahill commentedon Jul 8, 2025
Our team has identified a commonly overlooked bug related to improper handling of a signal variable. We believe this solution will help prevent such issues in the future.
feat(language-service): init experiment impl signal semantic highligh…
forivall commentedon Jul 14, 2025
It looks like there was an initial bit of work at angular/vscode-ng-language-service#2191 ? anyways, as seen in my referencing commit above, i've started a bit of experimental work on this
feat(language-service): init experiment impl signal semantic highligh…
feat(language-service): init experiment impl signal semantic highligh…
feat(language-service): wip impl signal semantic highlighting
feat(language-service): wip impl signal semantic highlighting
feat(language-service): wip impl signal semantic highlighting
feat(language-service): finished full initial impl signal semantic hi…
feat(language-service): finished full initial impl signal semantic hi…
forivall commentedon Nov 23, 2025
Fyi, I have this mostly implemented, it just needs some final tweaks, such as color scheme defaults.
hijamoya commentedon Mar 6, 2026
+1, we need this.
Dimanoid commentedon Apr 15, 2026
any news on this?
forivall commentedon Apr 17, 2026
I think i finally have a free saturday to finish this up and get my PR submitted. thanks for the pings 🫣
edit: i forgot about a few things i was attending this weekend, so i didnt have time. maybe an evening or next weekend.
Dimanoid commentedon Apr 29, 2026
The whole our office still crying day and night and waiting for this feature... 🙏
forivall commentedon Apr 29, 2026
sorry, i got norovirus last weekend 😢 it's still on the top of my mind to get this done
Dimanoid commentedon May 19, 2026
We are still waiting for this even more than the opening of the Strait of Hormuz!