Project: JDT
Bug 157767 [clean up] Code formatter allows to import clean up profiles
Reported: 2006-09-19 05:53:39 | Status: verified fixed

20060919 - go to the 'Clean Up' preference page - create a new profile - export profile as text.xml - go to the 'Formatter' preference page - import the text.xml - new profile created, no warning I think a warning dialogs should say that this was saved as clean up profile. Ok to create a new profile containing only the code formatter settings? Or just an error dialog...

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileVersioner.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CreateProfileDialog.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/FormatterProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/IProfileVersioner.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java