ReSharper 2017.3 Help

Css - Tabs and Indents

Tabs and Indents

Indent style

Property names:

css_indent_style, indent_style

Possible values:

  • space: Spaces
  • tab: Tab

Examples:

space
a,·br,·body,·p,·font,·div·{ ····color:·blue; ····font:·small; ····background-color:·transparent; ····padding:·0·0·0·0; }
tab
a,·br,·body,·p,·font,·div·{color:·blue;font:·small;background-color:·transparent;padding:·0·0·0·0; }

Indent size

Property names:

css_indent_size, indent_size

Possible values:

an integer

Examples:

value: 0
a,·br,·body,·p,·font,·div·{ ·color:·blue; ·font:·small; ·background-color:·transparent; ·padding:·0·0·0·0; }
value: 1
a,·br,·body,·p,·font,·div·{ ·color:·blue; ·font:·small; ·background-color:·transparent; ·padding:·0·0·0·0; }
value: 2
a,·br,·body,·p,·font,·div·{ ··color:·blue; ··font:·small; ··background-color:·transparent; ··padding:·0·0·0·0; }

Tab width

Property names:

css_tab_width, tab_width

Possible values:

an integer

Examples:

value: 0
a,·br,·body,·p,·font,·div·{color:·blue;font:·small;background-color:·transparent;padding:·0·0·0·0; }
value: 1
a,·br,·body,·p,·font,·div·{color:·blue;font:·small;background-color:·transparent;padding:·0·0·0·0; }
value: 2
a,·br,·body,·p,·font,·div·{color:·blue;font:·small;background-color:·transparent;padding:·0·0·0·0; }

How to align when tabs are used for indents

Property names:

[resharper_]css_alignment_tab_fill_style, [resharper_]alignment_tab_fill_style

Possible values:

  • optimal_fill: Mix tabs and spaces for optimal fill
  • use_tabs_only: Only use tabs (inaccurate)
  • use_spaces: Use spaces (looks aligned on any tab size)
Last modified: 16 April 2018