Valentin,

This happens to me, too.  My team recently switched to "end of line" for the
opening braces where I had been "next line", myself.

I think the problem is that *in both modes* hitting ENTER after the word
"static" puts the cursor out like Nithy showed (I have four-spaces per tab):

static
        |

Now I enter a "{" and hit ENTER, giving:

static
        {
            |
        }


Attached is my style file.

-sms

-----Original Message-----
From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
Sent: Tue, February 26, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [Eap-list] idea EAP605 static block formatting bug


I cannot reproduce this. Please, send me your code style settings
(<IDEA_HOME>/config/option/code.style.xml).

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Nithy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 9:16 PM
Subject: [Eap-list] idea EAP605 static block formatting bug


> I am using idea EAP 605
>
> static block brackets not aligned properly.
>
> when I try to create a static block after typing static and enter the
cursor
> moves one tab instead of staying below "s" of the word static.
>
> static
>    {
>    }
>
> I would expect it to be like
> static
> {
> }
>
> Note: I specified "NextLine" for all Class Declaration, Method declaration
> and others in IDE options - Indent and braces.
>
> Is there anything I am missing or is it really a bug.
>
> Thanks,
> Nithy.

-------------------------------------------------- 
DISCLAIMER 
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof. 

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 

  

Attachment: code.style.xml
Description: Binary data

Reply via email to