Hello Yuri
ReSharper inserts blank lines only between
methods/classes/namespaces, so currently there's no way to automatically
insert blank lines after the last method and class or after braces. You're
welcome to submit a feature request to our tracker:
http://www.jetbrains.net/jira/browse/RSRP
and we will consider it for the
future versions. Thank you very much!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
----Original Message----
From: Yuri Pakhomau marvel.me@gmail.com
Sent: Friday, April 27, 2007 8:42 PM
To: Support - Andrey Serebryansky
Subject: Re[2]: ReSharper 'Feedback'
Hello Andrey,
I set all options except of "Around single line field" and "Single
line method" to 1 (on "blank lines" tab). "around method" option
affect blank lines between methods, but i have no option to change
blank lines after braces.
Some examples: our company standarts require blank lane after
method closing bracket and class closing bracket like:
namespace qwer
{
class c
{
method m()
{
}
<---- blank line
}
<--- blank lane
}
after reformatting code those lanes disappears, so i need an option to
insert blank lanes after method and class.
Friday, April 27, 2007, 7:19:56 PM, you wrote:
> Hello Yuri
> Could you please tell us which option have you set to insert blank
> lines? Thank you!
> Andrey Serebryansky
> Support Engineer
> JetBrains, Inc
> http://www.jetbrains.com
> "Develop with pleasure!"
> From: marvel.me@gmail.com marvel.me@gmail.com
> Sent: Friday, April 27, 2007 2:41 PM
> To: feedback@jetbrains.com
> Subject: ReSharper 'Feedback'
> Product: ReSharper
> Build: 376
> Evaluator: False
> Name: Yuri Pakhomau
> Comment: Empty lane after "}" not inserted although it is set in options,
> for example:
> private void btnAddNew_Click(object sender, EventArgs e)
> {
> if (_grdAttributes.Validate())
> _grdAttributes.AddNew(_externalSystem.ExternalSystemId);
> } <---- no blank lane after this as expeced
> }
> Country: BELARUS
> TimeZone: E. Europe Standard Time
> Unable to render embedded object: File (5,4631d34f4101527717022) not found.
–
Best regards,
Yuri marvel.me@gmail.com