JDK 1.4.1 RC b19 has implemented a spec of the Java spec that previously was
never implemented:

Single line comments may not end with EOF.

Our company's code standard includes the following at the end of each class:

public class Test
{
} // end class Test

The EOF is right after the comment, and JDK1.4.1RCb19 doesn't like this. It
gives an "Unclosed comment" error when compiling. (There is a related bug
that allows compiling one class at a time, but not more than one).

I would like to submit a request to make it easier to clean up our code (200
classes) using IDEA, and this could be accomplished a few different ways:

1. Blank Lines after class.
2. Blank Lines before EOF
3. Blank Lines after single line comment
4. Strip comments after }
5. Strip comments after class

If I could run any one of these with Layout Code, it would save me hours of
work of going through our code and fixing these up.

Of course, supposedly, in JDK1.4.1 RC b20, this new "feature" regarding
comments followed by EOF will be removed, so I may not need it after all,
but I think any/all of those additions to Code Style would be great features
to add!

Ian.

Submitted as request:
http://www.intellij.net/tracker/idea/viewSCR?publicId=3837


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

Reply via email to