S
S
s243442019-08-11 07:37:13
webstorm
s24344, 2019-08-11 07:37:13

How to adjust spaces between brackets in WebStorm?

For example, I have a line in WebStorm:

import { firebase, googleAuthProvider } from '../firebase/firebase';

After autoformatting:
Ctrl + Alt + l
import {firebase, googleAuthProvider} from '../firebase/firebase';

Spaces between brackets are removed. Please tell me where to make the setting in WebStorm so that there are spaces between the brackets during auto-formatting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Epifanov, 2019-08-11
@s24344

Editor -> Code Style -> JavaScript -> Spaces -> Within -> ES6 import/export braces
5d4fd18fcb78e680478660.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question