New-line improperly indented

Variable declaration:

New-line:

Array creation from new-line:

 

Is it possible to configure the amount indentation after new line? This is my desired end result:

 

Update: By setting `Code style > Typescript > Variable declarations > Align > Do not align` I was able to produce this:

 

However, I would still prefer to have the braces on the same level as `lHeartbeats` when doing a declaration like this. Also, aligning multilne declarations (with multiple variables being assigned to) is something that I would have liked to keep if possible.

1 comment
Comment actions Permalink

Setting arrays wrapping to

would allow to have your variable formatted as follows:

const arr =
[
"a",
"b"
]

there is, however, no way to align the braces with const

0

Please sign in to leave a comment.