Css の EditorConfig プロパティ: タブとインデント
タブとインデント
インデントスタイル
プロパティ名:
indent_style , [resharper_]css_indent_style
使用可能な値:
tab: タブspace: スペース
例:
タブ |
|---|
a, br, body, p, font, div {
color: blue;
font: small;
background-color: transparent;
padding: 0 0 0 0;
} |
スペース |
|---|
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: 最適な塗りつぶしのためにタブとスペースをミックス
2024 年 5 月 26 日