Hi,

Build 611, Sun JDK 1.3.1, Win2kPro

If I have a line such as:

     public String xxx[] = {"Market",|

With the cursor at the | mark and I hit enter I would expect to get the following:

     public String xxx[] = {"Market",
                            |

ready for me to enter the next string constant. Instead the cursor is
placed at the same indent level as the start of the line and it is
only after completing the statement and invoking code-reformat that I
get the desired result like this:

     public String xxx[] = {"Market",
                            "Sell",
                            "..."};

Question: Is there an option to make this happen as I type and avoid having to
invoke reformat manually ?

If not can such a formatting option be added please ?


I also just noticed that if I place the cursor at the end of a
constant thus:

     public String xxx[] = {"Market",
                            "Sell",|
                            "..."};

and hit enter to add an extra constant then the cursor behaves as
expected and I get the following:

     public String xxx[] = {"Market",
                            "Sell",
                            |
                            "..."};

So it seems that the indent is only misbehaving when the line is being
entered the first time and is thus incomplete.


Regards


H





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

Reply via email to