cpmcgrath / codealignment

http://www.codealignment.com
199 stars 51 forks source link

Align more than 1 commas per row #113

Open SeerGiuS96 opened 11 months ago

SeerGiuS96 commented 11 months ago

I usually align with just 1 caracter = or , and it works perfectly . But i got a few rows of data and i would like to align all commas.

the example:

Result.Rows.Add("32", "Introduction course", "20", 1)
Result.Rows.Add("3" , "Carssssssssssssss", "NO21", 1)

I want like:

Result.Rows.Add("32", "Introduction course", "20"  , 1)
Result.Rows.Add("3" , "Carssssssssssssss"  , "NO21", 1)
MartinClementson commented 10 months ago

I am in the same situation, I've been trying to get it working with regular expressions, but so far no luck. It only aligns the first comma