WebStorm/PhpStorm double quotes in TypeScript auto import

后端 未结 6 1618
感动是毒
感动是毒 2020-12-04 06:51

I\'m using TypeScript style with single quotes, double quotes are used exclusively in HTML templates.

WebStorm/PhpStorm auto import adds import statemen

6条回答
  •  盖世英雄少女心
    2020-12-04 07:31

    In 2017-2019 this is how we do it:

    1. Go to settings
    2. Type Code style in search
    3. Select Typescript
    4. Go to Punctuation section
    5. Select single quotes

提交回复
热议问题