Wednesday, 18 September 2013

How can I get Visual Studeo CTRL-K-D to not unroll getters and setters

How can I get Visual Studeo CTRL-K-D to not unroll getters and setters

The style guides in my shop suggests formatting simple getters and setters
like this:
string foo { get; set; }
I find the CTRL-K + CTRL-D unrolls them like this
string foo
{
get;
set;
}
Is there a way to tel VS not do do this, specifically for getters and setter?

No comments:

Post a Comment