Reputation: 17064
When I do automatic code formatting with visual studio format, or resharper format, it uses 2 spaces for indentation.
I want to make it 4 or even 6 spaces, where is the setting to do this?
Upvotes: 0
Views: 258
Reputation: 3084
This is done on a language-by-language basis.
In the Tools menu, select Options...
In the dialog that appears, expand the Text Editor tree item, the language you are interested in, and select the Tabs pane.
In the Tabs pane, change the Indent size field.
Upvotes: 1