Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to save "Insert Spaces for Tabs" preferences
How to save "Insert Spaces for Tabs" preferences [message #805239] Thu, 23 February 2012 14:35 Go to next message
Jeff Storey is currently offline Jeff Storey
Messages: 3
Registered: February 2012
Junior Member
I'm trying to create a standard set of Eclipse preferences (epf) to be shared among the developers on our team. One of the settings we all set is the "Insert Spaces for Tabs" option. When I export the epf file, that preference is not saved. Is there any way to capture that so we can reuse it or does everyone need to set that individually?

Thanks,
Jeff
Re: How to save "Insert Spaces for Tabs" preferences [message #805908 is a reply to message #805239] Fri, 24 February 2012 09:27 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 23.02.2012 15:35, Jeff Storey wrote:
> I'm trying to create a standard set of Eclipse preferences (epf) to be
> shared among the developers on our team. One of the settings we all
> set is the "Insert Spaces for Tabs" option. When I export the epf
> file, that preference is not saved.
This is not true. When I start Eclipse 3.8 M5, then enable
General > Editors > Text Editors > Insert spaces for tabs
and export all preferences, I see the corresponding option in the file:
/instance/org.eclipse.ui.editors/spacesForTabs=true

Dani
> Is there any way to capture that so we can reuse it or does everyone
> need to set that individually?
>
> Thanks,
> Jeff
Re: How to save "Insert Spaces for Tabs" preferences [message #806086 is a reply to message #805908] Fri, 24 February 2012 14:34 Go to previous messageGo to next message
Jeff Storey is currently offline Jeff Storey
Messages: 3
Registered: February 2012
Junior Member
Interesting, I'm using Eclipse Indigo SR1, build id 20110916-0149 and that line does not appear in the preferences
Re: How to save "Insert Spaces for Tabs" preferences [message #807951 is a reply to message #806086] Mon, 27 February 2012 08:06 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 24.02.2012 15:34, Jeff Storey wrote:
> Interesting, I'm using Eclipse Indigo SR1, build id 20110916-0149 and
> that line does not appear in the preferences
It also works in Indigo SR1 for me. As said before: the key will only
appear if you indeed change the preference, since the file only contains
changes compared to the original defaults.

Dani
Re: How to save "Insert Spaces for Tabs" preferences [message #808224 is a reply to message #807951] Mon, 27 February 2012 14:53 Go to previous message
Jeff Storey is currently offline Jeff Storey
Messages: 3
Registered: February 2012
Junior Member
Dani,

What OS are you using? I am on Windows 7 64-bit. I have changed from the default preferences, and the key still does not export, though it did work on a Linux machine we tested on.

Thanks,
Jeff
Previous Topic:Cannot Start Eclipse
Next Topic:Positioning of buttons using locationURI for the ConsoleView
Goto Forum:
  


Current Time: Thu Oct 23 15:11:39 GMT 2014

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

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