KugBuBu
KugBuBu

Reputation: 630

Make visual studio do spaces before and after '='

Always when I finish a statement I write ; and it formats the statement, like 1+2+3 to 1 + 2 + 3. But it doesn't do it to x=y to x = y. Why? How to make it to do that?

I read everything in Tools -> Options -> Text Editor -> C# -> Formatting -> Spacing and didn't saw anything that is even related to =.

Upvotes: 0

Views: 80

Answers (1)

SoftSan
SoftSan

Reputation: 2472

You can try Resharper. It provides much more features in code editing. also you can press Ctrl + KD to make formatting.

Upvotes: 2

Related Questions