Code Style--Alignment
Having this class
public class ABC|
{
}
and pressing enter cause
public class ABC
|
{
}
But I don't want any extends/implements to be indented.
My settings for braces placement are all at "Next line".
Is there an hidden option for this, or is it simply an bug?
Please sign in to leave a comment.
What else are you expecting then?
Sven Steiniger wrote:
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
Forgot :)
Should be
public class ABC
{
}
because the extends/implements should be on same indent.
Martin Fuhrer schrieb:
> What else are you expecting then?
>
> Sven Steiniger wrote:
>
>> Having this class
>> public class ABC
>> {
>> }
>> and pressing enter cause
>> public class ABC
>> |
>> {
>> }
>> But I don't want any extends/implements to be indented.
>> My settings for braces placement are all at "Next line".
>> Is there an hidden option for this, or is it simply an bug?
What option have you configured to tell IDEA you want it that way?
Tom
As I could not find an extra option for this, I assumed "Braces
Placement/Class declaration"="Next line" will do it.
Thomas Singer (MoTJ) schrieb:
>> because the extends/implements should be on same indent.
I pretty much agree. So file a request about it.
Sven Steiniger wrote:
>>> because the extends/implements should be on same indent.
>>
>>
>>
>> What option have you configured to tell IDEA you want it that way?
>>
>> Tom
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
http://www.jetbrains.net/jira/browse/IDEA-4178
Martin Fuhrer schrieb:
>> As I could not find an extra option for this, I assumed "Braces
>> Placement/Class declaration"="Next line" will do it.
>>
>> Thomas Singer (MoTJ) schrieb:
>>
>>>> because the extends/implements should be on same indent.
>>>
>>>
>>>
>>>
>>> What option have you configured to tell IDEA you want it that way?
>>>
>>> Tom