I'm using Visual Studio with ReSharper, and whenever I write something like
a * b
it gets changed to
a*b
Is it a Visual Studio setting or a ReSharper setting? What exactly should I change?
Go to ReSharper -> Options -> Code Editing -> C# -> Formatting Style -> Spaces.
In the "Around Operators" section, check the box next to "Multiplicative operators (*,/,%)".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With