HookyQR / VSCodeBeautify

Enable js-beautify (https://github.com/beautify-web/js-beautify) in VS Code
MIT License
606 stars 180 forks source link

How to set "beautify" without spaces for "?."? Because he is wrong after formatting #415

Open XiaoYingYo opened 1 year ago

XiaoYingYo commented 1 year ago

image

image

How to set "beautify" without spaces for "?."? Because he is wrong after formatting

mech01nc01 commented 1 year ago

possible same as https://github.com/HookyQR/VSCodeBeautify/issues/411 have the same problem here:

let variablename = somevar ?? []

turns into:

let variablename = somevar ? ? []

which is wrong