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

Bug 202276

Summary: Provide a preference export category to cover the export of JDT's preference
Product: [Eclipse Project] JDT Reporter: Ed Merks <Ed.Merks>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: martinae
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ed Merks CLA 2007-09-05 10:16:05 EDT
JDT's preference can only be exported if one chooses Export->Preferences->Export all, in which case you end up with preferences you might well not want exported.  Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=201197 for details.
Comment 1 Martin Aeschlimann CLA 2007-09-05 10:26:32 EDT
What settings would you like to have available to export from JDT?
Comment 2 Ed Merks CLA 2007-09-05 11:33:27 EDT
Martin,

Probably it makes sense to include all of them.  The ones that interest me the most are formatter and compiler preferences, especially the ones about which types of issues are treated as errors verses warnings.
Comment 3 Martin Aeschlimann CLA 2007-09-05 11:47:23 EDT
I don't think covering all is a good idea. Think of the number of groups and the different ways of grouping settings.

I'm open to add sections that are requested. Like your request to get all compiler settings makes sense. This is bug 163543. Please add yourself to this bug and if it gets the critical mass we will put it on the plan.

Formatter settings can already be exported as profiles, which is more powerful as what the Export > Preferences can offer:
- works for project settings as well
- knows how to read and convert profiles from older Eclipse versions

Comment 4 Ed Merks CLA 2007-09-05 12:23:40 EDT
I see that all the code style things are covered by individual imports (though having to do four individual imports seems not so convenient).  So the compiler settings seems like the most important category to still cover.  Feel free to return this as a duplicate of the other bug you mentioned.
Comment 5 Martin Aeschlimann CLA 2007-09-05 12:27:08 EDT

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