Issue
Is it possible to add spaces between imports and braces in WebStorm's auto-import feature?
Currently how the auto import looks like:
import {AbstractControl} from '@angular/forms';
I want to change it to:
import { AbstractControl } from '@angular/forms';
Solution
Yes. Go to WebStorm -> Preferences -> Editor -> Code Style -> JavaScript -> Spaces (second tab), scroll to section "Within" and check ES6 import/export braces.
Answered By - yivo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.