TypeScript - Line Breaks
Blank lines
Min blank lines around fields and signature declarations
Property names:
[resharper_]js_min_blank_lines_around_fields
, [resharper_]min_blank_lines_around_fields
Possible values:
an integer
Examples:
Min blank lines around types and modules
Property names:
[resharper_]js_min_blank_lines_around_types
, [resharper_]min_blank_lines_around_types
Possible values:
an integer
Examples:
Line breaks
Enumerations
Property names:
[resharper_]js_wrap_enum_style
, [resharper_]wrap_enum_style
Possible values:
Examples:
Wrapping and chopping
Wrap union type usage
Property names:
[resharper_]js_wrap_union_type_usage
, [resharper_]wrap_union_type_usage
Possible values:
Examples:
Place on a new line
Place each decorator on a new line
Property names:
[resharper_]js_place_each_decorator_on_new_line
, [resharper_]place_each_decorator_on_new_line
Possible values:
true | false
Examples:
true |
@test
class·A·{
··@test
··@custom
··m()·{
··}
}; |
false |
@test
class·A·{
··@test·@custom
··m()·{
··}
}; |
Class decorators on the same line with class
Property names:
[resharper_]js_place_class_decorator_on_the_same_line
, [resharper_]place_class_decorator_on_the_same_line
Possible values:
true | false
Examples:
true |
@test·class·A·{
··@test·@custom
··m()·{
··}
}; |
false |
@test
class·A·{
··@test·@custom
··m()·{
··}
}; |
Method decorators on the same line with signature
Property names:
[resharper_]js_place_method_decorator_on_the_same_line
, [resharper_]place_method_decorator_on_the_same_line
Possible values:
true | false
Examples:
true |
@test
class·A·{
··m()
··@test·@custom·m()·{
··}
}; |
false |
@test
class·A·{
··m()
··@test·@custom
··m()·{
··}
}; |
Property decorators on the same line with property
Property names:
[resharper_]js_place_property_decorator_on_the_same_line
, [resharper_]place_property_decorator_on_the_same_line
Possible values:
true | false
Examples:
Field decorators on the same line with field
Property names:
[resharper_]js_place_field_decorator_on_the_same_line
, [resharper_]place_field_decorator_on_the_same_line
Possible values:
true | false