Project: JDT
Bug 49412 [formatting] Offer comment formatting options per comment type
Reported: 2003-12-30 00:27:17 | Status: verified fixed

Is it possible to avoid formating simple comments, not JavaDoc? I often comment big pieces of code using /* */ pair, but when I format code, it breaks structure of code inside of comments. :-( In same time, I would like to have JavaDoc comments formated, because they start with /**. Is it possible to have additional switch for this? Or, if it is already exists, please point on it. ;-)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CommentFormatFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CommentsTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentFormattingContext.java