Skip to content

Highlight Angular Signal Type Variables in Class and Template Files #65498

Open

Description

@gabrielnemeth

🚀 Feature request

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.

Activity

  1. added
    feature
    on Sep 16, 2024
  2. FjedorGaede commented on Dec 19, 2024

    @FjedorGaede

    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
    Alt-Text
    VSCode
    Alt-Text

  3. KirillAdeev commented on Jan 9, 2025

    @KirillAdeev

    any news on this?

  4. CactusCorantin commented on Jan 29, 2025

    @CactusCorantin

    +1 2025 :)

  5. dtomaszewski commented on Mar 10, 2025

    @dtomaszewski

    +1

  6. forivall commented on Apr 3, 2025

    @forivall
    Contributor

    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

    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!

  7. ThreatLockerEthanCahill commented on Jul 8, 2025

    @ThreatLockerEthanCahill

    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.

  8. forivall commented on Jul 14, 2025

    @forivall
    Contributor

    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

  9. added
    area: vscode-extension
    on Nov 21, 2025
  10. forivall commented on Nov 23, 2025

    @forivall
    Contributor

    Fyi, I have this mostly implemented, it just needs some final tweaks, such as color scheme defaults.

  11. added
    area: vscode-extension
    and removed
    area: vscode-extension
    on Nov 24, 2025
  12. added this to the Backlog milestone on Nov 24, 2025
  13. hijamoya commented on Mar 6, 2026

    @hijamoya
    Contributor

    +1, we need this.

  14. Dimanoid commented on Apr 15, 2026

    @Dimanoid

    any news on this?

  15. forivall commented on Apr 17, 2026

    @forivall
    Contributor

    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.

  16. Dimanoid commented on Apr 29, 2026

    @Dimanoid

    The whole our office still crying day and night and waiting for this feature... 🙏

  17. forivall commented on Apr 29, 2026

    @forivall
    Contributor

    sorry, i got norovirus last weekend 😢 it's still on the top of my mind to get this done

  18. Dimanoid commented on May 19, 2026

    @Dimanoid

    We are still waiting for this even more than the opening of the Strait of Hormuz!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: vscode-extensionfeature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions