How to Add Spaces Between Imports and Braces in Webstorm


webstorm javascript typescript

To add spaces beetween imports and braces in Webstorm, go to the following path in editor:

WebStorm -> Preferences -> Editor -> Code Style -> Programming language -> Spaces

Then enable the checkbox (like on a picture):

ES6 import/export braces

You can see how it will look on the right-side preview.

If you want to disable spaces, just make it unchecked:

ES6 import/export braces

comments powered by Disqus