You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the video below, you can see that when I type class=, VSCode autocompletes it by automatically adding double quotes:
Screen.Recording.2025-04-08.at.10.58.12.mov
I really would want to disable this as to me it's more of an annoyance + this prevents VSCode automatically suggesting possible values you can input with certain props. Good example would be shadcn-vue's Button component and variant prop as typing variant=" would automatically give you a list of possible values.
What I've tried so far in .vscode/settings.json:
"html.autoCreateQuotes": false
"editor.autoClosingQuotes": "never"
"html.completion.attributeDefaultValue": "empty"
None of these work.
Those automatic double quotes happen only with Vue's official extension and with .vue files, does anyone know how to prevent this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the video below, you can see that when I type
class=
, VSCode autocompletes it by automatically adding double quotes:Screen.Recording.2025-04-08.at.10.58.12.mov
I really would want to disable this as to me it's more of an annoyance + this prevents VSCode automatically suggesting possible values you can input with certain props. Good example would be shadcn-vue's Button component and variant prop as typing
variant="
would automatically give you a list of possible values.What I've tried so far in
.vscode/settings.json
:None of these work.
Those automatic double quotes happen only with Vue's official extension and with
.vue
files, does anyone know how to prevent this?Beta Was this translation helpful? Give feedback.
All reactions