views:

99

answers:

2

Simple really - in Tools, Options, Text Editor, C#, New Lines, New Line Options for braces, there is not an option for properties...

Or am I going mad and just can't find it?

EDIT: I am using an add-in that is generating the code and reportedly uses the VS settings.... but doesn't seem to, so I've given up on this issue, it's not that important.

+2  A: 

Indeed there isn't; it uses the "methods" setting. Resharper may have more control, but has a price tag too.

Marc Gravell
it may be the add-in that isn't working properly, supposed to use those settings (http://www.csharper.net/blog/property_manager_update.aspx#property_manager_addin_for_visual_studio_2005.aspx)oh well, useul addin nonetheless
kpollock
Erm... who mentioned an add-in?
Marc Gravell
the add-in is generating the code and reportedly uses the VS settings....
kpollock
A: 

For the outer braces of the property it's the same one as for methods (Place open brace on new line for methods).

antonioh
I don't have 2005 handy, but in 2008 it applies to the inner (get/set) braces too.
Marc Gravell
You're right, I put the "get" statement all in one line, so it didn't auto-format it
antonioh