microsoft / microsoft/TypeScript
Deprecated tag support for JavaScript and TypeScript in overrides in children
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Issue Type: Feature Request
https://code.visualstudio.com/updates/v1_49#_deprecated-tag-support-for-javascript-and-typescript added the great @deprecated tag support which works great.
However, when extending a parent class that has a @deprecated method, that method is not shown with strikethrough in the child. It would be great if this was the case.
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 5.4.0-65-generic
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in VS Code with JavaScript or TypeScript classes where a parent method is marked @deprecated and inherited by a child. Trace the language-service path responsible for override and deprecated-symbol presentation, then verify that the inherited method is shown with strikethrough without changing existing @deprecated behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100