Blank lines inside class?

2 posts, 0 answers
  1. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 18 Nov 2012 Link to this post

    I want my code to look like this:

    namespace Foo
    {

    class Bar
    {

    void Method()
    {

    }

    void Method2()
    {

    }

    }

    }

    But cannot figure out how to accomplish it. JustCode keeps collapsing it to:

    namespace Foo
    {
    class Bar
    {
    void Method()
    {

    }

    void Method2()
    {

    }
    }
    }
  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 21 Nov 2012 Link to this post

    Hi,

     Thanks for contacting us.
    In order to prevent removing of the blank lines, you have to disable a setting. It is located at JustCode's menu > Code Style > specific language (e.g. C#) > Blank Lines. There disable "An open brace should not be followed by a blank line".
    I hope this will help you.
    Thanks.

    Kind regards,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top