문제

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 (*,/,%)".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top