This is a migrated thread and some comments may be shown as answers.

Blank lines inside class?

1 Answer 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jerome
Top achievements
Rank 1
Jerome asked on 18 Nov 2012, 05:11 PM
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()
{

}
}
}

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 21 Nov 2012, 04:44 PM
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.

Tags
General Discussions
Asked by
Jerome
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or