ReSharper 2026.1 Help

Css の EditorConfig プロパティ: タブとインデント

タブとインデント

インデントスタイル

プロパティ名:

indent_style, [resharper_]css_indent_style

使用可能な値:

  • tab: タブ

  • space: スペース

例:

tab

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

space

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

インデントサイズ

プロパティ名:

indent_size, [resharper_]css_indent_size

使用可能な値:

整数

例:

値: 0

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

値: 1

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

値: 2

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

タブの幅

プロパティ名:

tab_width, [resharper_]css_tab_width

使用可能な値:

整数

例:

値: 0

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

値: 1

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

値: 2

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

タブがインデントに使用されているときの整列方法

プロパティ名:

[resharper_]css_alignment_tab_fill_style, [resharper_]alignment_tab_fill_style

使用可能な値:

  • use_spaces: スペースを使用する (任意のタブサイズで整列して見える)

  • use_tabs_only: タブのみを使用する (不正確)

  • optimal_fill: 最適な塗りつぶしのためにタブとスペースをミックス

2026 年 6 月 12 日