Bug 154097 - [Preferences] Managing and sharing settings
Summary: [Preferences] Managing and sharing settings
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P4 enhancement with 1 vote (vote)
Target Milestone: 3.3   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 158307 160452 (view as bug list)
Depends on: 76850 160736 165690 165691
Blocks:
  Show dependency tree
 
Reported: 2006-08-16 13:31 EDT by John Arthorne CLA
Modified: 2011-02-25 16:57 EST (History)
27 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2006-08-16 13:31:35 EDT
Currently settings are either scoped at the workbench/workspace level or the project level. However, there are cases where associating settings with other scopes, such as a working set or perspective, would be beneficial. Similarly, a product should be able to specify the default settings for a particular perspective. We will also look for ways to simplify how we share settings and other interesting state, such as breakpoints, bookmarks, perspectives, key bindings, etc. [Runtime, Workspace, UI]
Comment 1 Erkki Lindpere CLA 2006-08-21 15:18:38 EDT
How about settings that are scoped per configuration and/or can be more easily shared between workspaces? I tend to use a lot of different workspaces and it is somewhat annoying to modify the same settings over and over and over again.

Some of these are small changes (but I never remember to do them all when creating a new workspace) such as toggling line numbers on text editors, java type decorators etc.
Comment 2 John Arthorne CLA 2006-08-21 16:34:11 EDT
There already is a configuration preference scope (see the class ConfigurationScope in the org.eclipse.equinox.preferences plugin). However, the UI doesn't currently expose a way for users to put settings in that scope.
Comment 3 Boris Bokowski CLA 2006-09-22 10:19:08 EDT
*** Bug 158307 has been marked as a duplicate of this bug. ***
Comment 4 Jean-Michel Lemieux CLA 2006-10-05 22:26:50 EDT
Imagine that a project is composed of several sub-teams. Each of these sub-teams owns a set of plug-ins. For example, there are the core, ui, and examples teams, and they each have slightly different guidelines. If the core team decides to enable PDE compile settings to show un-resolved references as errors, someone on the team must override project settings on each of the projects. This is time-consuming and error prone. As a user, I would much prefer a mechanism to say, override these settings on a set of plug-ins.
Comment 5 Erkki Lindpere CLA 2006-10-06 04:40:03 EDT
(In reply to comment #4)
I would also like something similar. Could it be done per working set or are working sets too temporary?
Comment 6 Mike Wilson CLA 2006-10-06 10:56:25 EDT
I understand what drives the idea in comment #4. Overriding things like warning levels seems fairly innocuous, but I wonder about doing this in general. What happens if you override a setting that actually impacts how the output is generated? Doesn't this lead to "it works when I run it, but not when you do" scenarios that are potentially difficult to diagnose?
Comment 7 John Arthorne CLA 2006-11-24 12:53:15 EST
*** Bug 160452 has been marked as a duplicate of this bug. ***
Comment 8 andrew u. frank CLA 2007-01-17 14:20:11 EST
i use a dual boot (xp and ubuntu) and hope that making the preferences independent of workspaces they could also become independent of the OS and work for both.
Comment 9 Tod Creasey CLA 2007-04-26 15:33:12 EDT
Marking as FIXED as we are now heading into release candidates.
Comment 10 Dani Megert CLA 2007-04-26 15:36:03 EDT
>Marking as FIXED as we are now heading into release candidates.
Can you explain what part of this plan item got actually fixed?
Comment 11 Tod Creasey CLA 2007-04-26 16:43:26 EDT
Look at the dependant bugs. The main new feature was the settings transfer support added for 3.3. Bug 76850 and Bug 165690 describe the newer features.
Comment 12 Dani Megert CLA 2007-04-27 02:56:54 EDT
k. Thanks. I was also expecting from this plan item that I (as a user) can share (some of) my settings amongst my workspaces automatically i.e. not just via export/import.
Comment 13 Tod Creasey CLA 2007-04-27 07:51:40 EDT
We have an action plan for that but it requires API and enough interest for us to be able to get it in for a plan item.
Comment 14 Tod Creasey CLA 2007-04-30 09:34:05 EDT
Marking VERIFIED
Comment 15 Martin Oberhuber CLA 2010-02-02 05:23:08 EST
This bug was marked FIXED sine Eclipse now supports cloning settings when cloning a Workspace. 

For those who are interested in sharing settings across multiple configurations or workspaces, see bug 70683 for a follow-up discussion.