After making this config, when I format JS code like this:
for (let index = 0; index < array.length; index++) {
const element = array[index];
}
if (condition) {
}
function name (params) {
}
IT turns out like this:
for(let index = 0; index < array.length; index++) {
const element = array[index];
}
if(condition) {
}
function name(params) {
}
However, what I expect is like this:
for(let index = 0; index < array.length; index++){
const element = array[index];
}
if(condition){
}
function name(params){
}
In other words, I DONOT WANT the space before "{" ...I wonder if I can make it by using Beautify? Or is there some other configuration overwrite the configuration of Beautify? Or can I make it by using some specific vs-code settings?(I tried searching on google about this but didn't find a way(Most of the others want add this space before "{"...So why not make it configurable?)).
My configuration in settings.json about Beautify is like this:
After making this config, when I format JS code like this:
IT turns out like this:
However, what I expect is like this:
In other words, I DONOT WANT the space before "{" ...I wonder if I can make it by using Beautify? Or is there some other configuration overwrite the configuration of Beautify? Or can I make it by using some specific vs-code settings?(I tried searching on google about this but didn't find a way(Most of the others want add this space before "{"...So why not make it configurable?)).