CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 4/29/2007 5:46:26 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 23 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"Shawn_Molloy"
NewsGroup User
Visual Studio config: how do I set code styles?4/29/2007 5:46:26 AM

0

When I write a function I want the open bracket "{" to appear on the same line as the function name - ie;

private void DoSomething() {

    // code
    ...
}

 Where in tools options is this??

 

Thanks.  


 

"XIII" <>
NewsGroup User
Re: Visual Studio config: how do I set code styles?4/29/2007 7:30:53 AM

0

Hi,

navigate to

Tools | Options -> Text editor, C#, Formatting, New Lines and in the the right uncheck the checkbox Place open brace on new line for ... and the ... are for the different types / methods.

Grz, Kris.


Kris van der Mast [MVP] || 101 LINQ to SQL samples
2 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT