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
area: vscode-extensionIssues related to the Angular Language Service VsCode extensionfeatureLabel used to distinguish feature request from other issues
Currently there is no way of marking components as deprecated. It would be cool if template editor supported standard way how deprecated code should be marked in TS/JS, using JSDoc @deprecated feature.
This would help working in enterprise grade environment when there are multiple components and some of these should no longer be used. Currently it is very easy to forget/overlook such usage. Displaying it somehow in editor in straightforward way would help a lot.
Feature Type
Display somehow that component is deprecated.
Describe the solution you'd like
I believe the standard way of displaying would be fine, similar way as vscode does for TS/JS code. Currently WebStorm supports it and it looks like in the screenshot:
It supports standard way of marking elements as deprecated using JSDoc @deprecated feature.
For example:
/** * @deprecated DO NOT USE THIS TABLE. */
@Component({selector: 'app-table-old',templateUrl: './old-table.component.html',styleUrls: ['./old-table.component.scss']})
Reacted by Phillip Barta, Sergey, Enea Jahollari, Harpush, Sune Radich Vestergaard, Markus Seiffert, Mathias Hellsing, Alvaro Junqueira, zan-leanix, Leandro and 10 more
area: vscode-extensionIssues related to the Angular Language Service VsCode extensionfeatureLabel used to distinguish feature request from other issues
Activity
[-]eprecated components[/-][+]Deprecated components[/+]eliasm307 commentedon Dec 17, 2024
+1
However can this not just be about components but for highlighting deprecation of anything used in templates e.g. directives, pipes etc ?
JeanMeche commentedon Jan 9, 2026
#62054 & angular/vscode-ng-language-service#2192 landed the change
angular-automatic-lock-bot commentedon Feb 9, 2026
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.