Issue
I am using IntelliJ IDEA for Angular 6 (Typescript) development. When new import is added automatically by IntelliJ it's always double-quoted string.
There is possibility to change it to single-quoted manually:
However, I wish it would happen automatically and by default. How to set it?
Solution
In intellij settings you can change this.
Go to File -> Settings -> Editor -> Code Style -> Typescript. And then in the Punctuation tab change the use Double quotes always to Single quotes. Refer the image below.
Answered By - Anuradha Gunasekara
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.