B
Brian Schwartz
Quick question related to Visual Studio's automatic code formatting. Often I
like to write my variable declarations with spacing to line them up, like
this (not sure if this spacing will come out right for everyone, but
hopefully you get what I'm after):
private int _xyz
private string _stringVar
private ContentAlignment _align
Whenever I paste code, or set a closing brace, after declarations like this,
the IDE removes all the spacing between the type and the name. I've looked
through the formatting options a couple of times, but haven't hit on
anything to disable this behavior yet. Anyone know how to take care of this?
like to write my variable declarations with spacing to line them up, like
this (not sure if this spacing will come out right for everyone, but
hopefully you get what I'm after):
private int _xyz
private string _stringVar
private ContentAlignment _align
Whenever I paste code, or set a closing brace, after declarations like this,
the IDE removes all the spacing between the type and the name. I've looked
through the formatting options a couple of times, but haven't hit on
anything to disable this behavior yet. Anyone know how to take care of this?