TheColorRed / vscode-format

Formats files
3 stars 3 forks source link

Whitespace added to assignment operators (+=, -=, etc.) #6

Open bbugh opened 7 years ago

bbugh commented 7 years ago

In C# when formatting, the assignment operators have whitespace inserted. Here's a gif showing before/after:

xykhd5r0yo

KubaMiszcz commented 6 years ago

same in cpp here some regex if you can put in inside: ([\/\!\%\^\&\*\-\+\~\|\=])([\&\|])?\s+(\=) replace with $1$2$3