How to make Webstorm “Reformatting Source Code” to change double quotes to single quotes?

In Webstorm 2017.1, do the following:

  1. Go to File -> Settings | Preferences
  2. Choose Editor -> Code Style -> TypeScript
  3. Select ‘Punctuation’ tab
  4. Change: Use 'double' quotes to Use 'single' quotes. (Additionally, you can change 'in new code' to 'always')

Webstorm auto-import change to use double quotes instead of single quotes

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)