EditorConfig properties for ShaderLab: ShaderLab Formatting Style
tip
Formatting preferences listed on this page can be also configured visually, on the Editor | Code Style | ShaderLab | ShaderLab Formatting Style page of JetBrains Rider settings CtrlAlt0S.
indent_style, [resharper_]shaderlab_indent_style
tab: Tabspace: Spaces
tab |
|---|
|
space |
|---|
|
indent_size, [resharper_]shaderlab_indent_size
an integer
value: 0 |
|---|
|
value: 1 |
|---|
|
value: 2 |
|---|
|
tab_width, [resharper_]shaderlab_tab_width
an integer
value: 0 |
|---|
|
value: 1 |
|---|
|
value: 2 |
|---|
|
[resharper_]shaderlab_alignment_tab_fill_style, [resharper_]alignment_tab_fill_style
use_spaces: Use spaces (looks aligned on any tab size)use_tabs_only: Only use tabs (inaccurate)optimal_fill: Mix tabs and spaces for optimal fill
[resharper_]shaderlab_allow_far_alignment, [resharper_]allow_far_alignment
Allow alignment even if construct is located too far to the right, more than 2/3 of `Hard wrap at` limittrue | false
[resharper_]shaderlab_brace_style, [resharper_]shaderlab_brace_style, [resharper_]brace_style, [resharper_]brace_style
end_of_line: At the end of line (K&R style)end_of_line_no_space: At the end of line (no space)next_line: At next line (BSD style)next_line_shifted: At next line indented (Whitesmiths style)next_line_shifted_2: At next line indented 2 (GNU style)
end_of_line |
|---|
|
end_of_line_no_space |
|---|
|
next_line |
|---|
|
next_line_shifted |
|---|
|
next_line_shifted_2 |
|---|
|