Change generated import from double quote to single quote

The generated import statements for typescript in intellij IDE is im double quote, the style guidance of typescript complaints on that, so it needs to be changed to single quote.

[Approach for Intellij 2016]
Intellij IDEA -> Preferences-> Editor -> TypeScript -> Other -> Generated Code -> Quote marks: Single quote -> apply -> o.k.


[Approach for Intellij 2018.1]

Intellij IDEA -> Preferences-> Editor -> Code Style -> TypeScript -> Punctuation -> Use “double” quotes “always” :  “Single” quotes “always” -> apply -> o.k.



For Webstorm user, please check out the approach from following settings suggested on stackoverflow :


About yingding wang
i am looking forward to innovation in IT and Robotics

Comments are closed.

%d bloggers like this: