Connecting Tech Pros Worldwide Forums | Help | Site Map

overriding VC# formatting defaults

Member
 
Join Date: Feb 2009
Posts: 68
#1: Feb 1 '09
Is there any way in Visual C# 2008 Express to override the formatting defaults? For instance, I want a single space before open parens when I'm passing arguments, but VC# won't let me do that.

insertAlias's Avatar
Forum Leader
 
Join Date: Apr 2008
Location: San Antonio, TX (USA)
Posts: 2,608
#2: Feb 2 '09

re: overriding VC# formatting defaults


OK, try this:

Tools->Options.
That brings up the Options Dialog. Now go down the tree: (your tree might be a bit different, I have the full version of VS.)
Text Editor -> C# -> Formatting -> Spacing
You should see a lot of spacing options. The second one should be the one you want.
Reply