Visual studio editor issue

Posted by viky on Stack Overflow See other posts from Stack Overflow or by viky
Published on 2010-04-13T18:11:55Z Indexed on 2010/04/13 18:13 UTC
Read the original article Hit count: 398

I am using Visual Studio 2008. In my editor whenever I write an automatic property it's "get" and "set" wraps to a single line whenever I wrote "set" and put semicolon(;). like this:

public string MyProperty
{
    get; set;
}

I want it to be formatted like this

public string MyProperty
{
    get;
    set;
}

Currently I am manually formatting it to this after writing it. How can I set it as a default format?

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2008