Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How do I make preferences global?
How do I make preferences global? [message #1704005] Thu, 06 August 2015 15:03 Go to next message
Moses McKnight is currently offline Moses McKnightFriend
Messages: 4
Registered: August 2015
Junior Member
This Oomph looks interesting but quite complex! I'm using eclipse for C/C++, and I have a custom code formatting style, and a custom syntax coloring style I use. In previous versions of eclipse I had to export both of those, and then import them in every workspace which is a bit of a pain.

So I imported the .epf and the formatting .xml files in Mars, and when I create a new workspace, my custom settings are not there. I do have the preferences recorder turned on. How do I make my syntax coloring, and code formatting work across workspaces without having to import them each time?
Re: How do I make preferences global? [message #1704069 is a reply to message #1704005] Fri, 07 August 2015 07:20 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 06.08.2015 um 23:28 schrieb Moses McKnight:
> This Oomph looks interesting but quite complex! I'm using eclipse for C/C++, and I have a custom code formatting
> style, and a custom syntax coloring style I use. In previous versions of eclipse I had to export both of those, and
> then import them in every workspace which is a bit of a pain.
>
> So I imported the .epf and the formatting .xml files in Mars, and when I create a new workspace, my custom settings
> are not there. I do have the preferences recorder turned on. How do I make my syntax coloring, and code formatting
> work across workspaces without having to import them each time?
When the recorder is turned on you need to apply preference changes manually *in the Preferences dialog*. When you press
the Ok button Oomph pops up an extra dialog to ask you whether you want to record or ignore these preferences (now and
in the future). And recorded preferences are automatically applied to existing or new workspaces (unless you selected
the "Skip automatic task execution at startup" preference in Oomph. Did that not happen for you?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: How do I make preferences global? [message #1704130 is a reply to message #1704069] Fri, 07 August 2015 14:09 Go to previous messageGo to next message
Moses McKnight is currently offline Moses McKnightFriend
Messages: 4
Registered: August 2015
Junior Member
Yes, it pops up a dialog to ask about recording preferences I changed.
So I take it from your response, that there is not a way to make it save all current workspace preferences globally (or user wide anyhow)?
That would mean that I would need to go through and manually change every preference which I have already saved in my .epf - bascially start from scratch?

Eclipse is the only IDE/editor I've ever used that does not save preferences user wide. It's been a bit of a pain, and I'm glad that is finally changing!
Thanks,
Moses
Re: How do I make preferences global? [message #1704135 is a reply to message #1704130] Fri, 07 August 2015 14:37 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 07.08.2015 um 16:09 schrieb Moses McKnight:
> Yes, it pops up a dialog to ask about recording preferences I changed.
> So I take it from your response, that there is not a way to make it save all current workspace preferences globally
> (or user wide anyhow)?
I fear that's the case.

> That would mean that I would need to go through and manually change every preference which I have already saved in my
> .epf - bascially start from scratch?
Yes, or maybe you find a way to convert from the .epf to the .setup format? Perhaps with XSLT...

>
> Eclipse is the only IDE/editor I've ever used that does not save preferences user wide. It's been a bit of a pain,
> and I'm glad that is finally changing!
Indeed. And we're still looking at improving our improvements as soon as possible ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: How do I make preferences global? [message #1704222 is a reply to message #1704135] Sun, 09 August 2015 06:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Moses,

Certainly there are a number of things we might consider adding as
features, e.g., drag and drop of an *.epf file might convert them to
preference tasks. Being able to record preferences into something other
than your user.setup, e.g., a project setup. Some ability to
selectively record the current setting of preferences as preference
tasks, much like the Eclipse's existing preference exporter (which is
very poor at being selective, so one often must literally paw through
the XML to remove unwanted things).

Think about which specific things would be very helpful, open
enhancement requests for them, and consider contributing something
towards those ends.


On 07/08/2015 4:37 PM, Eike Stepper wrote:
> Am 07.08.2015 um 16:09 schrieb Moses McKnight:
>> Yes, it pops up a dialog to ask about recording preferences I changed.
>> So I take it from your response, that there is not a way to make it
>> save all current workspace preferences globally (or user wide anyhow)?
> I fear that's the case.
>
>> That would mean that I would need to go through and manually change
>> every preference which I have already saved in my .epf - bascially
>> start from scratch?
> Yes, or maybe you find a way to convert from the .epf to the .setup
> format? Perhaps with XSLT...
>
>>
>> Eclipse is the only IDE/editor I've ever used that does not save
>> preferences user wide. It's been a bit of a pain, and I'm glad that
>> is finally changing!
> Indeed. And we're still looking at improving our improvements as soon
> as possible ;-)
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Finding preferences
Next Topic:More Settings for Projects Import Task
Goto Forum:
  


Current Time: Fri Dec 06 17:23:39 GMT 2024

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

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

Back to the top