Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346508

Summary: [clean up] allow usage of CleanUp profiles in Save Actions->Additional Actions
Product: [Eclipse Project] JDT Reporter: John <M8R-sgiphk>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, pwebster
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description John CLA 2011-05-19 13:07:27 EDT
Build Identifier: I20110518-2200

tested in eclipse 4.1.0 but likely present in 3.7 too

Currently (Project->Properties or Window->Preferences) Java Editor->Save Actions->Additional Actions cannot use existing Java Code Style->Clean Up->Active profile

Which means, I have to exactly duplicate my settings from a profile and manually set them in Additional Actions, if I want them to be the same, and also (manually)make sure they stay in sync.

I do assume (rightfully I hope) that both Additional Actions->Configure and Clean Up->Edit are using the same set of settings (ie. no additional or missing ones between them) - ok now I see there is at least one additional Imports->Organize imports in CleanUp that doesn't exist in Save Actions->Additional Actions but it does in Save Actions->Organize Imports 

Anyway, if you think they can be merged such that Save Actions can use a Clean Up profile as described, then please consider it ;)

Reproducible: Didn't try

Steps to Reproduce:
Window->Preferences->Java->Code Style->Clean Up
vs
Window->Preferences->Java->Editor->Save Actions
Comment 1 Dani Megert CLA 2011-05-20 01:28:18 EDT

*** This bug has been marked as a duplicate of bug 178429 ***