NewLine after modifiers

I tend to write with this style:

class Test
{
public
Test()
{
}

public void
Method()
{
}

readonly int
test;
}

Note the new lines after the members access modifieds and types. Is it
possible to add an option to the formatter for this style?

Thank you,
Pablo

2 comments
Comment actions Permalink

Yes, it's possible but the question is how many people would use it. We always
have to find some compromise between various user requests related to coding
style and having too much code style options.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I tend to write with this style:

class Test
{
public
Test()
{
}
public void
Method()
{
}
readonly int
test;
}
Note the new lines after the members access modifieds and types. Is it
possible to add an option to the formatter for this style?

Thank you,
Pablo



0
Comment actions Permalink

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Valentin Kipiatkov (JetBrains) wrote:

Yes, it's possible but the question is how many people would use it. We
always have to find some compromise between various user requests
related to coding style and having too much code style options.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I tend to write with this style:
>>
>> class Test
>> {
>> public
>> Test()
>> {
>> }
>> public void
>> Method()
>> {
>> }
>> readonly int
>> test;
>> }
>> Note the new lines after the members access modifieds and types. Is it
>> possible to add an option to the formatter for this style?
>>
>> Thank you,
>> Pablo


Very reasonable.

Sigh....I probably won't have any luck with this one. =)

Regards,
Pablo
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFDHatqvooSiBfQCSoRArklAKDuezteMA0kFRKMLVHJWBBVUQWNNgCgwF4c
YfSzpxgmqvMLKWNYVfN9qvY=
=1IiC
-


END PGP SIGNATURE-----

0

Please sign in to leave a comment.