We corrected this in #528. The number of spaces before comments will be
kept. In future, we will add some options to control this.

> At a quick look through the menus I didn't even find
> a menu entry for Reformat code. Did I miss it or is it really not there?

Tools | Layout Code...

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

----- Original Message -----
From: "Dirk Dittert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 12:15 AM
Subject: [Eap-list] Code Reformat Bug


> Hello,
>
> I have the following piece of code:
>
>   if (startpos2 > endpos1) {                              // bla bla
>     res.add(last);                                        // bla bla
>     if (!iter.hasNext()) {                                // bla bla
>       res.add(current);                                   // bla bla
>     }                                                     // bla bla
>   }
>
> after a Reformat (Strg-Alt-F) I get the following result:
>
>   if (startpos2 > endpos1) { // bla bla
>     res.add(last);                                        // bla bla
>     if (!iter.hasNext()) { // bla bla
>       res.add(current);                                   // bla bla
>     }                                                     // bla bla
>   }
>
> The result is independent from the settings in Tools->Code
Style ->[Comment
> Code|Keep When Reformatting]. Build: 526/527 JDK 1.3.1_01 Windows 2000 SP
2
> In earlier builds this did not happen (sorry, can't remember in which
> version it it worked). At a quick look through the menus I didn't even
find
> a menu entry for Reformat code. Did I miss it or is it really not there?
>
> I would very much appreciate an option where I can the indentation level
> for line comments as I always have them indented to the same level.
>
> It is very nice to have these insepct windows for the debugger, especially
> for debugging operations on lists. But if one of the inspect windows has
> the focus the keyboard shortcuts for Step Over, Step Into, ... don't work.
>
> Greetings,
>
> Dirk Dittert
>
> By the way: aren't there any new postings on the mailing list as the
> web-archive does not show any after Mon Dec 3 12:38:52 2001?
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to