VS Code Auto Indent / Code Formatting changes single quotation marks to double

后端 未结 2 1598
暗喜
暗喜 2021-01-03 20:01

I am using VS Code 1.17.2 with the following extensions installed (Unfortuanetly i can\'t link them since i don\'t have enough reputation):

  • Angular 5 Snippets
2条回答
  •  耶瑟儿~
    2021-01-03 20:57

    The extensions uses the settings that are set in your VS Code user settings file.

    To change it, open your user settings file

    Ctrl+Shift+P and type Open User Settings.

    Search for prettier.singleQuote and change it to true like

    "prettier.singleQuote": true

提交回复
热议问题