Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Can I have all my workspaces use the same preferences?
Can I have all my workspaces use the same preferences? [message #259429] Tue, 07 April 2009 16:55 Go to next message
Eclipse UserFriend
Originally posted by: m.junk.com

Hi,

I know this has been asked before. There has been no good answer, and the
last time it was asked was is 2007 I think, so I wanted to see if there
tre any updates.

I have multiple workspaces. I want my preferences to be the same for all
workspaces. Preferences includes perspective layout, colors, step
filters, etc. I know that I can manually export and import preferences
from one workspace to another. Is there a way I can just have the two
workspaces be in sync? For example, could they write preferences to
$HOME/.eclipse rather than to the workspace directory?

Thanks!
Re: Can I have all my workspaces use the same preferences? [message #259433 is a reply to message #259429] Tue, 07 April 2009 19:08 Go to previous messageGo to next message
Eclipse UserFriend
New User wrote:
> Hi,
>
> I know this has been asked before. There has been no good answer, and
> the last time it was asked was is 2007 I think, so I wanted to see if
> there tre any updates.
>
> I have multiple workspaces. I want my preferences to be the same for
> all workspaces. Preferences includes perspective layout, colors, step
> filters, etc. I know that I can manually export and import preferences
> from one workspace to another. Is there a way I can just have the two
> workspaces be in sync? For example, could they write preferences to
> $HOME/.eclipse rather than to the workspace directory?
>
> Thanks!
>
Add -showlocation on the command line when starting Eclipse. This will
show the location of the workspace in the menu.
Re: Can I have all my workspaces use the same preferences? [message #259437 is a reply to message #259429] Tue, 07 April 2009 20:02 Go to previous messageGo to next message
Eclipse UserFriend
> I have multiple workspaces. I want my preferences to be the same for all
> workspaces.

While the Platform doesn't force to use workspace scoped preferences,
most of the plugins store it at the workspace level. That is the concept of
workspaces. Workspaces define the work area and you can customize them
individually. Having a single preference that applies across all the
workspaces is generally not a very good idea.

- Prakash
--

http://blog.eclipse-tips.com

"New User" <m@junk.com> wrote in message
news:3725b2ee8cae475059cb226b8ec5e5a6$1@www.eclipse.org...
> Hi,
>
> I know this has been asked before. There has been no good answer, and the
> last time it was asked was is 2007 I think, so I wanted to see if there
> tre any updates.
>
> I have multiple workspaces. I want my preferences to be the same for all
> workspaces. Preferences includes perspective layout, colors, step
> filters, etc. I know that I can manually export and import preferences
> from one workspace to another. Is there a way I can just have the two
> workspaces be in sync? For example, could they write preferences to
> $HOME/.eclipse rather than to the workspace directory?
>
> Thanks!
>
Re: Can I have all my workspaces use the same preferences? [message #259457 is a reply to message #259429] Wed, 08 April 2009 10:12 Go to previous messageGo to next message
Eclipse UserFriend
The closest you can get is the "Copy Settings" on the workspace launcher
dialog.

(hack) Other than that, you can manually copy the files from
<workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings from
one workspace to another ... with the caveat that this will work for
most (but not all) preferences.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Re: Can I have all my workspaces use the same preferences? [message #259461 is a reply to message #259433] Wed, 08 April 2009 11:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Please ignore this response. It was supposed to be for another post.
"David Wegener" <dpwegener@gmail.com> wrote in message
news:grgme0$n4n$1@build.eclipse.org...
> New User wrote:
> > Hi,
> >
> > I know this has been asked before. There has been no good answer, and
> > the last time it was asked was is 2007 I think, so I wanted to see if
> > there tre any updates.
> >
> > I have multiple workspaces. I want my preferences to be the same for
> > all workspaces. Preferences includes perspective layout, colors, step
> > filters, etc. I know that I can manually export and import preferences
> > from one workspace to another. Is there a way I can just have the two
> > workspaces be in sync? For example, could they write preferences to
> > $HOME/.eclipse rather than to the workspace directory?
> >
> > Thanks!
> >
> Add -showlocation on the command line when starting Eclipse. This will
> show the location of the workspace in the menu.
Re: Can I have all my workspaces use the same preferences? [message #259464 is a reply to message #259429] Wed, 08 April 2009 14:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 4/7/2009 4:55 PM, New User wrote:
> Hi,
>
> I know this has been asked before. There has been no good answer, and
> the last time it was asked was is 2007 I think, so I wanted to see if
> there tre any updates.
>
> I have multiple workspaces. I want my preferences to be the same for all
> workspaces. Preferences includes perspective layout, colors, step
> filters, etc. I know that I can manually export and import preferences
> from one workspace to another. Is there a way I can just have the two
> workspaces be in sync? For example, could they write preferences to
> $HOME/.eclipse rather than to the workspace directory?

No, it's not possible.
You might be interested in following this enhancement, which is targeted
for the "next generation" release of Eclipse, dubbed "E4."
https://bugs.eclipse.org/bugs/show_bug.cgi?id=255371
I realize it is no help to you right now, but since you are feeling a
particular pain related to it you can take the opportunity to contribute
to the discussion (and maybe even the implementation) with your own
perspective.

Eric
Re: Can I have all my workspaces use the same preferences? [message #259468 is a reply to message #259457] Wed, 08 April 2009 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.gmail.com

Thanks Paul.

Prakash - I use multiple workspaces and there are many, many settings
which I want to be the same across all workspaces.
Re: Can I have all my workspaces use the same preferences? [message #259472 is a reply to message #259464] Wed, 08 April 2009 14:18 Go to previous message
Eclipse UserFriend
Originally posted by: m.junk.com

Thanks Eric! I looked at that bug and to be honest, most of it is over my
head, so I don't think I can contribute much to the discussion. (Also, I
don't want to add myself as a CC because I don't want to publish my
email.) But it sounds like it will address my problem. Basically, for
each preference, I would like to specify the scope (user, workspace, etc)
of that preference. I am fine with waiting for the next release.
Previous Topic:IJavaModel, AST and Bindings
Next Topic:Annotation processing (in Java 1.6 flavour)
Goto Forum:
  


Current Time: Sun Apr 20 10:23:49 EDT 2025

Powered by FUDForum. Page generated in 0.04017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top