If I'm typing a Java file, and I enter a Javadoc,
followed by a class or method declaration, when I press
<enter> on the line, it indents to the \* on the
javadoc. Example:
I type:
<pre>
/\*\*
\* javadoc comment
\*/
public class MyClass {
</pre>
Jedit automatically indents to:
<pre>
/\*\*
\* javadoc comment
\*/
public class MyClass {
</pre>
inserting the space at the beginning of the line. This
is quite annoying.
Workaround:
comment out these two lines
<pre>
<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
</pre>
in the java mode file. However, this disables the other
features of autoindent.
Dusty
Submitted | nobody - 2005-03-24 20:37:37 | Assigned | kog13 |
---|---|---|---|
Priority | 5 | Labels | editor core |
Status | open | Group | minor bug |
Resolution | None |
2007-02-08 20:33:09 rschwenn |
Logged In: YES |
---|---|
2007-02-08 21:01:12 rschwenn |
Logged In: YES |
2010-11-15 22:23:15 kog13 |
This is an old bug, but one that I've also run into and am not sure how to classify.
Technically speaking, it's not a bug; the indentation of each line is determined by
that of the line before it, which results in the space being preserved. |
2012-01-18 01:43:54 ezust |
- **assigned_to**: nobody --> kog13 |
2017-12-02 21:42:39.996000 tsourick |
The example is unclear.
|