Search code examples
visual-studio-codesingle-quotes

VS Code ignores quote settings


I've a project with .vue and .js files. In my .vue files, all quotes I type stay single quotes. But in my .js files, even if I type a singlequote ('), it becomes a double quote.

Here, you can see my settings.json-file:

enter image description here


Solution

  • I've just found out: The .editorconfig file overrides the settings.json file. So I had to add to the .editorconfig file the following line:

    quote_type = single