VSCode single to double quote automatic replace

前端 未结 22 907
死守一世寂寞
死守一世寂寞 2021-01-30 12:03

When I execute a Format Document command on a Vue Component.vue file VSCode replace all single quoted string with double quoted string.

In my specific case

22条回答
  •  有刺的猬
    2021-01-30 12:53

    There only solution that worked for me: and only for Angular Projects:

    Just go into your project ".editorconfig" file and paste 'quote_type = single'. Hope it should work for you as well.

提交回复
热议问题