WebStorm/PhpStorm double quotes in TypeScript auto import

后端 未结 6 1605
感动是毒
感动是毒 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:21

    This behaviour is controlled by the following option:

    1. Settings/Preferences
    2. Editor | Code Style | TypeScript
    3. "Punctuation" tab | Generated code -> Quote marks

    As of 2017.1 version it's on new Punctuation tab and options are named a bit differently:

提交回复
热议问题