Project: JDT
Bug 163347 [clean up] Clean up doesn't follow formatter options
Reported: 2006-11-03 11:20:25 | Status: resolved fixed

3.3 M3 I enabled Clean up on save, and used the default save participant profile. When I started using it, I noticed that it was formatting my comments, even though my active formatter profile says comments should not be formatted. When I investigated I noticed that the clean up profile has a separate check box for "format comments". Why have a separate option for this when it is already part of the general formatter profile? The expected behaviour is that my formatter settings will always be obeyed...

Files changed in fix:
org.eclipse.jdt.ui.tests/performance/org/eclipse/jdt/ui/tests/performance/views/CleanUpPerfTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CommentFormatCleanUp.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CommentFormatFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CodeFormatingTabPage.java