Iorweth333
Iorweth333

Reputation: 512

Splitting curly braces imports to many lines in WebStorm autoformatting

Is it possible to split curly braces import into many lines when more than one thing is imported? I want something like this:

import {
  property1,
  property2,
  property3
} from './myModule.js'

instead of

import { property1, property2, property3 } from './myModule.js'

Upvotes: 2

Views: 65

Answers (1)

Siddharth
Siddharth

Reputation: 469

I don't think so. This automatically happens depending on your hard wrap settings.

Upvotes: 1

Related Questions