Newline + Indenation after { and no closing brackets... [message #162944] |
Sat, 05 June 2004 16:06  |
Eclipse User |
|
|
|
Hello!
I configured the Java Editor some time before and now (when I used
Eclipse M8 again) I noticed that after typing a "{" and pressing Enter
there is no default indentation.
Furthermore my braces are not closed automatically.
Example:
I'm typing this in a class (<ENTER> means pressing Enter):
public void a() {<ENTER>
| C
My cursor goes to the marked position |, but I want it move to C.
It would be nice if the bracket { is closed automatically.
Example:
I write: public void a() {<ENTER>
and then } would appear in the line after my cursor at the same
indentation as the method signature.
It would result in:
public void a() {<ENTER>
|
}
I think I just messed up my configuration but I cannot find any wrong
settings.
It would be nice if you help, therefore:
Thanks in advance,
Hero Wunders
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02565 seconds