I don't have prettier extension installed, but after reading the possible duplicate answer I've added from scratch in my User Setting (UserSetting.json, Ctrl+, shortcut):

"prettier.singleQuote": true

A part a green warning (Unknown configuration setting) the single quotes are no more replaced.

I suspect that the prettier extension is not visible but is embedded inside the Vetur extension.

Answer from attdona on Stack Overflow
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 1099
Prettier "prettier.singleQuote" not working in 1.40 vs code · Issue #1099 · prettier/prettier-vscode
November 26, 2019 - Expected result: File should format with "singleQuotes" File is formatted with double quotes · VS Code Version: Version: 1.40.1 (user setup) Commit: 8795a9889db74563ddd43eb0a897a2384129a619 Date: 2019-11-13T16:49:35.976Z Electron: 6.1.2 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Windows_NT x64 6.1.7601 · OS and version: Windows 7 Enterprise Version 6.1(Build 7601: Service Pack 1) [INFO - 10:09:39 AM] Extension Name: "prettier-vscode".
Author   sreekumarp
Discussions

Single quotes are sometimes replaced with double quotes even when "prettier.singleQuote: true" is specified
Specifically, when prettier is run on a string like this: ... The expected behavior (I think) is to continue using single quotes since the setting prohibits the use of double quotes. More on github.com
🌐 github.com
11
June 28, 2017
"prettier.singleQuote: true" not being honored for vanilla javascript files
I am having an issue getting the vscode prettier extension to convert my javascript documents correctly. I am running VSCode 1.22.2 with version 1.3.1 of the Prettier extension. I have a prettier configuration set to convert double quote... More on github.com
🌐 github.com
5
April 26, 2018
eslint - Prettier doesn't work for changing double quote to single quote in visual code - Stack Overflow
This is my .eslintrc file: { "parser": ... changes but when I save it, the single quote turn into double quote. How can I fix that problem. ... I am also experincing this issue, I've added an issue to the project : github.com/esbenp/prettier-vscode/issues/187... More on stackoverflow.com
🌐 stackoverflow.com
VS code keeps changing my single quotes to double quotes, probably because of vetur extension but I've tried all the posted solutions already. Nothing seems to be working

Command Palette -> "Format Document with... " - this will list the available formatters (with the default denoted) and will allow you to set the default. If you can't find the command, there's only one formatter available for this context.

More on reddit.com
🌐 r/vscode
2
6
July 25, 2020
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 1085
cannot format doubleQuotes to singleQuote in single javascript file · Issue #1085 · prettier/prettier-vscode
November 21, 2019 - prettier / prettier-vscode Public · There was an error while loading. Please reload this page. Notifications · You must be signed in to change notification settings · Fork 509 · Star 5.5k · New issueCopy link · New issueCopy link · Closed · Closed · cannot format doubleQuotes to singleQuote in single javascript file#1085 ·
Author   Fenglinwanyue
🌐
Medium
medium.com › @nayan.vekariya014 › prettier-in-vs-code-how-to-avoid-quote-wars-and-keep-your-team-sane-d622de5c7f29
🔧 Prettier in VS Code: How to Avoid Quote Wars and Keep Your Team Sane | by Nayan Vekariya | Medium
July 18, 2025 - If there’s no Prettier config in your project, VS Code falls back to your global or extension settings. So if your global Prettier setup uses singleQuote: true, VS Code will replace "double quotes" with 'single quotes', even if the original ...
🌐
Medium
pjausovec.medium.com › prettier-single-quote-setting-not-respected-in-tsx-files-vs-code-8d34a9554b37
Prettier single quote setting not respected in .tsx files (VS Code) | by Peter Jausovec | Medium
March 7, 2021 - And, of course, the default value for that is false. The solution is to set the jsxSingleQuote setting to true as well. This will change all double quotes in your .tsx files to single quote.
🌐
GitHub
github.com › prettier › prettier › issues › 2338
Single quotes are sometimes replaced with double quotes even when "prettier.singleQuote: true" is specified · Issue #2338 · prettier/prettier
June 28, 2017 - I am using the vscode extension and am having an issue with the prettier.singleQuote setting. The only settings I have customized are: "prettier.singleQuote": true, "prettier.trailingComma": "all", "prettier.printWidth": 100 Specifically...
Author   alexjlockwood
Find elsewhere
🌐
Reddit
reddit.com › r/vscode › vs code keeps changing my single quotes to double quotes, probably because of vetur extension but i've tried all the posted solutions already. nothing seems to be working
r/vscode on Reddit: VS code keeps changing my single quotes to double quotes, probably because of vetur extension but I've tried all the posted solutions already. Nothing seems to be working
July 25, 2020 -

I'm working with vue, but this keeps happening to all my .vue files. I have the vetur extension + prettier + eslint. Eslint fixes the double quotes to single quotes but I think either prettier or vetur is overwriting it. I may be missing one of the webpack files but I have no idea which one, or if I actually AM missing a file.

I've tried to add:

{
    "vetur.format.defaultFormatter.js": "prettier-eslint", 
    "eslint.validate": [ 
        { "language": "vue", "autoFix": true }, 
        { "language": "javascript", "autoFix": true } ], 
    "eslint.autoFixOnSave": true 
}

in a .prettierrc file as suggested by one of the solutions I found but it doesn't work for me. Idek what else to do, I'm pretty new to vue.

🌐
GitHub
github.com › prettier › prettier-vscode › issues › 345
Single Quote isn't applied on save or format document/selection · Issue #345 · prettier/prettier-vscode
January 22, 2018 - The semi colon rule works fine on save or formatting document, but the single quote will not resolve. If I run prettier --write, it picks up the .prettierrc and correctly changes to single quotes. ...
Author   akrueger
🌐
Bobby Hadz
bobbyhadz.com › blog › replace-double-quotes-with-single-in-vscode
VS Code: Replace Double quotes with Single or vice versa | bobbyhadz
April 6, 2024 - When the Prettier: Single Quote setting is enabled, single quotes are used instead of double quotes everywhere (except for JSX files).
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-format-code-with-prettier-in-visual-studio-code
Format Code with Prettier in Visual Studio Code: Setup Guide | DigitalOcean
August 1, 2025 - Here are some of the most commonly adjusted Prettier settings: Single Quote: Choose between single and double quotes.
🌐
Tomasz Tarnowski
blog.tomasztarnowski.com › automatic-code-formatting-with-visual-studio-code-and-prettier
Automatic Code Formatting with Visual Studio Code and Prettier
October 14, 2021 - Create .prettierrc file in your project root directory. ... "singleQuote", when set to true, will replace all double-quotes with single-quotes or opposite if set to false;
🌐
Medium
medium.com › @rosyidgrobogan › vscode-problems-single-to-double-quote-automatic-replace-it-92dfbdc6c1fa
VSCode Problems: Single to Double Quote automatic replace it | by Rosyid Grobogan | Medium
August 28, 2020 - Maybe for beginners a little panic, when he typed a single quote suddenly changed to double qoute automatically when using VSCode. Relax .. it’s just a matter of setting up in VSCode. Solution: We have to set up the settings, 1. Click the ‘File’ tab (which is in the upper left corner) 2. Select ‘Preferences’> ‘Settings’. You can skip 1 and 2 steps by Press ‘Ctr + Comma’ · 3. Click on search ‘“prettier.singleQuote”: true’ Then the ‘Prettier: Single Quote’ setting will appear.
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 3012
Single quote option set to false still produces strings with single quotes in js files · Issue #3012 · prettier/prettier-vscode
May 30, 2023 - Prettier will change the surrounding double quotes to single quotes if the string contains a double quote and no single quotes.
Published   May 30, 2023
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 187
Quote rules responding unexpectedly on auto save. (Single and double quotes) · Issue #187 · prettier/prettier-vscode
July 30, 2017 - Quote rules responding unexpectedly on auto save. (Single and double quotes)#187 ... When I use the prettier plugin, I am experiencing some abnormality with the format on save feature and quotes, I'll try my best to show you what I am describing:
Author   the-simian
🌐
Website Files
cdn.prod.website-files.com › 6724d7b555e56ffe1cc5eeba › 67b0a78701903fd77f7ed039_78241410014.pdf pdf
Vscode single quote on save
If you manage Prettier settings through your package.json file, add these lines: "prettier": { "singleQuote": true, "jsxSingleQuote": true }. If using a .editorconfig file, change the quote_type to single or double instead. Make sure VS Code is restarted after changes.
🌐
Prettier
prettier.io › docs › options.html
Options · Prettier
July 5, 2023 - If the number of quotes outweighs the other quote, the quote which is less used will be used to format the string - Example: "I'm double quoted" results in "I'm double quoted" and "This \"example\" is single quoted" results in 'This "example" is single quoted'.