editorconfig / editorconfig-vscode

EditorConfig extension for Visual Studio Code
http://editorconfig.org/
MIT License
1.24k stars 117 forks source link

quote_type option not working with VSCode #371

Open acarlstein opened 4 years ago

acarlstein commented 4 years ago

Greetings. Even do I have installed globally the editorconfig (npm install -g editorconfig) and I have the file .editorconfig in the root folder of the project with this content:

[*.{js,jsx,ts,tsx,vue}]
quote_type = single
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

When running the format document option of VSCode on a Vue document, all quotes turn into double-quote.

Please let me know if this is an issue with VSCode or its an actual bug.

Thank you for your time.

cxw42 commented 4 years ago

editorconfig/editorconfig-vscode#95 was a request for this that was closed --- it may not be supported in the VSCode plugin. I suggest asking in https://github.com/editorconfig/editorconfig-vscode/issues. Good luck!

alfaproject commented 1 month ago

prettier respects that property, it's widely used and it's not ambiguous. Can't see why VSCode wouldn't want to support it