slynch8 / 10x

10x IDE/Editor
191 stars 35 forks source link

Feature Request: Disable formatting for # of spaces between commas or equal signs #2824

Open alexgwalley opened 1 month ago

alexgwalley commented 1 month ago

An option to allow formatting like below would be wonderful. I like to line up my equal signs for similar variables, currently the formatter would remove those extra spaces.

// github code view isn't aligning these, but they should be :)
int a                    = 0;
int longer_name = 1;

// similarly for initializer lists:
{A,       10,      another_thing},
{B,      123,      b_thing}