JetBrains Rider 2017.2 Help

TypeScript - Braces Layout

Braces layout

Types and modules

Property names:

[resharper_]js_types_braces, [resharper_]types_braces

Possible values:

  • next_line_shifted: At next line indented (Whitesmiths style)
  • next_line_shifted_2: At next line indented 2 (GNU style)
  • next_line: At next line (BSD style)
  • end_of_line: At end of line (K&R style)
  • end_of_line_no_space: At end of line (no space)

Examples:

next_line_shifted
module·M ····{ ····class·C ········{ ········public·f:·number; ········} ····interface·I ········{ ········f:·number; ········} ····}
next_line_shifted_2
module·M ····{ ········class·C ············{ ················public·f:·number; ············} ········interface·I ············{ ················f:·number; ············} ····}
next_line
module·M { ····class·C ····{ ········public·f:·number; ····} ····interface·I ····{ ········f:·number; ····} }
end_of_line
module·M·{ ····class·C·{ ········public·f:·number; ····} ····interface·I·{ ········f:·number; ····} }
end_of_line_no_space
module·M{ ····class·C{ ········public·f:·number; ····} ····interface·I{ ········f:·number; ····} }
Last modified: 23 November 2017