When editing comments in TextMate, I frequently use the Reformat Selection text routine to fix paragraphs who's lines have gone past 80 characters long (my Wrap Column). Unfortunately this has some unexpected side-effects in Java, which along with nicely reformatting my selected comments (respecting the *s in the beginning of the line even!) adds redundant starting and ending comments: /* and */. Why does this happen? What can I do to fix this?
To reproduce, select a few lines inside a javadoc-formatted Java comment (/** * */), and hit ^Q.
Thanks,
-- Elliot