EditorConfig properties for TypeScript: Line Breaks
tip
Formatting preferences listed on this page can be also configured visually, on the Code Editing | TypeScript | Formatting Style | Line Breaks page of ReSharper options Alt+R, O.
[resharper_]js_min_blank_lines_around_fields
, [resharper_]min_blank_lines_around_fields
an integer
Before formatting | After formatting, value: 0 |
---|---|
|
|
Before formatting | After formatting, value: 1 |
---|---|
|
|
Before formatting | After formatting, value: 2 |
---|---|
|
|
[resharper_]js_min_blank_lines_around_types
, [resharper_]min_blank_lines_around_types
an integer
Before formatting | After formatting, value: 0 |
---|---|
|
|
Before formatting | After formatting, value: 1 |
---|---|
|
|
Before formatting | After formatting, value: 2 |
---|---|
|
|
[resharper_]js_wrap_enum_style
, [resharper_]wrap_enum_style
do_not_change
: Do not changeon_single_line
: Force put on single lineline_break
: Force line breaks
Before formatting | After formatting, do_not_change |
---|---|
|
|
Before formatting | After formatting, on_single_line |
---|---|
|
|
Before formatting | After formatting, line_break |
---|---|
|
|
[resharper_]js_wrap_union_type_usage
, [resharper_]wrap_union_type_usage
wrap_if_long
: Simple wrapchop_if_long
: Chop if long or multilinechop_always
: Chop always
Before formatting | After formatting, wrap_if_long |
---|---|
|
|
Before formatting | After formatting, chop_if_long |
---|---|
|
|
Before formatting | After formatting, chop_always |
---|---|
|
|
[resharper_]js_place_each_decorator_on_new_line
, [resharper_]place_each_decorator_on_new_line
true | false
true |
---|
|
false |
---|
|
[resharper_]js_place_class_decorator_on_the_same_line
, [resharper_]place_class_decorator_on_the_same_line
true | false
true |
---|
|
false |
---|
|
[resharper_]js_place_method_decorator_on_the_same_line
, [resharper_]place_method_decorator_on_the_same_line
true | false
true |
---|
|
false |
---|
|
[resharper_]js_place_property_decorator_on_the_same_line
, [resharper_]place_property_decorator_on_the_same_line
true | false
true |
---|
|
false |
---|
|
[resharper_]js_place_field_decorator_on_the_same_line
, [resharper_]place_field_decorator_on_the_same_line
true | false
true |
---|
|
false |
---|
|