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
[vscode language service extension] Add a dedicated Angular-aware rename command #72118
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.
Activity