dotnet / dotnet/fsharp

Support IDE0049 in F#

Open
#14,541 4 comments 0 reactions 0 assignees View on GitHub
Area-LangService-CodeFixes Feature Request
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

This ticket stems from [this PR](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0049). We should have something to force the [guidelines](https://learn.microsoft.com/en-us/dotnet/fsharp/style-guide/formatting#for-types-prefer-prefix-syntax-for-generics-foot-with-some-specific-exceptions) we have for the F# code.

I don't think it should be a Fantomas job, it's basically equivalent to the [IDE0049](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0049). And since IDE0049 is branded as an "IDE" one (supports both C# and VB), we should likely just implement it in F#.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.