D
dmc_lat47
Guest
i have a large body of c# written in previous versions of visual studio... 2010, 2013, 2015.
I recently updated to vs 2017.
The c# written previously was all auto formatted so that indents were four spaces.
With the new version, the auto formatting wants to use 2 spaces for each indent instead of 4.
This is a problem, as any new code doesn't fit with old code.
Of course i could reformat the entire doc to use the 2 space indents, but this makes diff'ing with previous versions very hard to read.
I've visited Tools/options/editor/All Languages and c# to try to fiddle with the tab settings, but nothing seems to help.
This has got to be a bug, right?
any help would be very much appreciated.
thanks
dmc_lat47
Continue reading...
I recently updated to vs 2017.
The c# written previously was all auto formatted so that indents were four spaces.
With the new version, the auto formatting wants to use 2 spaces for each indent instead of 4.
This is a problem, as any new code doesn't fit with old code.
Of course i could reformat the entire doc to use the 2 space indents, but this makes diff'ing with previous versions very hard to read.
I've visited Tools/options/editor/All Languages and c# to try to fiddle with the tab settings, but nothing seems to help.
This has got to be a bug, right?
any help would be very much appreciated.
thanks
dmc_lat47
Continue reading...