I love eclipse auto formatting, but there\'s one feature that\'s driving me raging mad:
Since I use wrap-lines in my auto-formmatter, code like this:
pri
This annoys me also. To fix the wrapped comments you can use the keyboard shortcut CTL+ALT+J to join the comments onto one line. The comment-indicator characters (// or *) will still be there but at least it will save you some steps. Then you can just run a find and replace for the comment-indicators.
I think that the thing you are specifically asking about you can achieve by editing your formatter:
Window
-> Preferences
-> Java
-> Code Style
-> Formatter
. There edit you click on Edit...
That way no formatting of comments of the type //
will be done.