When I type /**<ENTER> on the line above a method, I get the following:

/**
 *
 |
 * @throws Exception
 */

With | being the final cursor position.

The problem seems to be caused by our coding standards: methods in a class
start in the first column (instead of being indented 4 spaces as per Sun
standard). When I indent the method and retype the /**<ENTER>, the error
doesn't occur.

Also, would it be possible to have two separate options to replace the
"Smart Enter" option in IDE settings so that one can independently control
whether Enter generates Javadocs or smart-indents? I would like to turn off
smart-indents since it plays havoc with our coding standards (as I mentioned
above) but still have Javadoc templates autogenerated.

Ciao,
Gordon

---
Sitraka -- the Java advantage
http://www.sitraka.com/


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

Reply via email to