Webstorm automatic reformat problem
With recent updates of WebStorm I got annoying es6 imports reformat, changing single quotes to double and removing spaces inside braces. So new commits are flooded with these annoying code changes.
Also I got automatic imports feature, when using react jsx, which is also annoying, because it can import a component which is already imported and I'm getting runtime errors.
Any advices how to overcome these problems? Didn't find anything in settings to disable this behaviour
请先登录再写评论。
>I got annoying es6 imports reformat, changing single quotes to double and removing spaces inside braces. So new commits are flooded with these annoying code changes.
Settings | Code Style | Javascript | Spaces, enableWithin / ES6 import/export bracesSettings | Code Style | Javascript | Punctuation, setUseto single>it can import a component which is already imported and I'm getting runtime errors.
Please can you provide code snippets + steps to recreate the issue?