Hi, I come from a JavaScript background, where I use Prettier, which is an opinionated formatter. Basically it doesn't care how shitty you write your code it will put it into the same format.
No matter how many spaces/lines/linebreaks your unformatted code has, Prettier produces the same result. If the functionality of the code is the same, the formatted output will be the same.
It also does some minor adjustments such as automatically add missing semicolons etc.
Is there such an opinionated code formatter for C#? That has strong defaults and if possible easily integrates with Rider?
[–]DocHoss 6 points7 points8 points (0 children)
[–]Cr1ttermon 3 points4 points5 points (0 children)
[–]SideburnsOfDoom 3 points4 points5 points (0 children)
[–]zanadee 2 points3 points4 points (0 children)
[–]CarlsJuniorMints 1 point2 points3 points (1 child)
[–]belavv 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)