Trantor
Trantor

Reputation: 766

WebStorm auto-reformatting JS code options: newline after class declaration - before '{'?

I found many nice options for auto-reformatting code in WebStorm (Settings->Editor->Code Style-> JavaScript), but how can I change this newline-after-class-declaration formatting:

export class A{
    constructor( something )
    {
    ....

to this:

export class A
{
    constructor( something )
    {
    ....

?

Upvotes: 1

Views: 91

Answers (1)

lena
lena

Reputation: 93898

there is no such option currently, please vote for WEB-20152.

Upvotes: 2

Related Questions