Make "add type annotation" code refactoring applicable to all params
Open
Area-LangService-CodeRefactorings
Feature Request
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
For the code:
`let add x y = x + y`
Add a code refactoring that will change it to:
`let add (x: int) (y: int) = x + y`
We already have the refactoring, it's just not used as a bulk one. Don't know what machinery is needed for this, probably something similar to what is there is code fixes.
_Originally posted by @psfinaki in https://github.com/dotnet/fsharp/issues/10421#issuecomment-1622467357_
Contributor guide
Assessment
This issue has not been assessed yet.