When coding with Eclipse, how do you turn off the \"*\" comments that come up when you start a multi-line comment?
Instead of seeing this,
/**
* Here is
With eclipse 4.2.1 I used the formatter off / on feature, be sure to not have the formatter on tag on the same line as the comments tag other wise the stars nightmare will be back.
// @formatter:off
/*
Eclipse your * are messing up my comments big time and If I used you
more often I'd put a patch together to add back in the "Add Leading Star" option
*/
// @formatter:on
The on/off features have to be turned "on" in Eclipse preferences: Java > Code Style > Formatter. Click on "Edit" button, "Off/On Tags", check off "Enable Off/On tags".
From
How to turn off the Eclipse code formatter for certain sections of Java code?
Also. I change the tags to //off //on for ease of use
A similar post is How to disable the automatic asterisk (inserting stars) in Eclipse when adding a multi-line comment?