是否可以在 WebStorm 的自动导入功能中在导入和大括号之间添加空格?
目前自动导入的样子:
import {AbstractControl} from '@angular/forms';
我想把它改成:
import { AbstractControl } from '@angular/forms';
Yes. Go to WebStorm -> Preferences -> Editor -> Code Style -> JavaScript -> Spaces (second tab), scroll to section "Within" and check ES6 import/export braces.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)