Skip to content

[vscode language service extension] Add a dedicated Angular-aware rename command #72118

Open

Description

@floAtEbcont

Which @angular/* package(s) are relevant/related to the feature request?

language-service

Description

Renaming symbols using 'native' F2/Rename in VSCode does not update Angular HTML templates.

This affects all symbols shared between TypeScript and templates, such as component properties, methods, inputs, outputs, etc.

Interestingly, Find All references correctly identifies HTML template references, and Angular Language Service already detects invalid template references. The semantic information is therefore available; the limitation appears to be specific to rename integration.

Proposed solution

Add a dedicated "Angular: Rename Symbol" command to the Command Palette.

Unlike the standard F2/rename mechanism, a dedicated command would not have to compete with VS Code's built-in TypeScript rename provider (see VS Code issue #115354).

It could directly invoke Angular Language Service's rename functionality and apply the resulting workspace edits across TypeScript and HTML files.

Alternatives considered

Using 'native' VSCode F2/rename

Activity

  1. added this to the needsTriage milestone on Nov 19, 2026
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-extensionIssues related to the Angular Language Service VsCode extension

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions