microsoft / microsoft/TypeScript
FEATURE REQUEST: For TypeScript / JS add new refactor feature: if class method can be static add tooltip "make method static"
Open
Nobody has claimed this yet.
Awaiting More Feedback
Domain: LS: Refactorings
Suggestion
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
TypeScript new refactor feature
If class method can be static (doesnt use this in code body) - add tooltip menu make method static with refactor all usages to call this method with static call (Class.Method)
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
No files, tests, or entry points are named. Start by locating the TypeScript language-service refactoring implementation for class methods and its tests, then verify the proposed static-method action, tooltip, and usage updates across relevant TypeScript and JavaScript cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100