At 03:09 PM 12/11/2001 -0500, David Smiley wrote: >With IDEA, I can't get it to (via code style preferences) support multi-line >declaration indents. Here is an example from my code already indented by >myself. > >private TermInfo > nearTI = new TermInfo(), > midTI = new TermInfo(), > farTI = new TermInfo(); > >To support this, when hitting return on a line that appears to be a >declaration (already has a type specified), IDEA should automatically >indent. > >Also, you should know that there are refactoring bugs that cause IDEA to not >deal with these types of declarations very well at all.
And this style is not recommended, according to Sun's Java conventions <http://java.sun.com/docs/codeconv/html/CodeConventions.doc5.html#2992> Instead, use: private TermInfo nearTI = new TermInfo(); private TermInfo midTI = new TermInfo(); private TermInfo farTI = new TermInfo(); which is used by well over 99% of Java code examples (and supported by refactoring tools). _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
