TetraDev
TetraDev

Reputation: 17064

How do I increase indentation in visual studio / resharper format with 4 or more spaces

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

Answers (1)

Mike
Mike

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.

enter image description here

Upvotes: 1

Related Questions