VSCodeBeautify
VSCodeBeautify copied to clipboard
"css": { "type": ["css","less","scss"], // Keep Comma Separated Selectors On The Same Line in CSS Files // This Option Is Only Working In .jsbeautifyrc File In Project Root Folder "selector_separator_newline": false },
Windows 10 VS Code 1.44.0 Beautify 1.5.0
This setting does not appear to work in my main settings.json file in VS Code
"selector_separator_newline": false
I have this in settings.json
"beautify.language": {
"js": {
"type": ["javascript","json","jsonc"],
"filename": [".jshintrc",".jsbeautifyrc"]
},
"css": {
"type": ["css","less","scss"],
"selector_separator_newline": false
},
"html": {
"type": ["htm", "html", "php"]
}
},
However, if I put "selector_separator_newline": false in .jsbeautifyrc file in my project root folder it seems to work as expected. Obviously it;s preferable to have the global setting. Am I doing something wrong?
Expected results
textarea, select, input[type="text"] {
width: 250px;
box-sizing: border-box;
}
Actual results
textarea,
select,
input[type="text"] {
width: 250px;
box-sizing: border-box;
}