TypeScript decorators formatting

when i format my typescript code,

decorators and their properties appear on 2 different lines, 

for example the Angular 2 decorator

@Input() MyInputVar

becomes

@Input()
MyInputVar

but i see no options to change this...

how can i change this behaviour ?

1 comment
Comment actions Permalink

Hi there,

Either https://youtrack.jetbrains.com/issue/WEB-20849 (already fixed; wait for next update) or https://youtrack.jetbrains.com/issue/WEB-20691 (still pending)

 

0

Please sign in to leave a comment.