[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Changing default preferences/settings

On 2/26/2009 10:23 AM, Jason Kolter wrote:
Yes, I've done that where everyone is working on one or a few large
projects, but we're going to be making many plugin projects that are
going into a large RCP application, so we still would have the problem
of getting the settings into the projects in the first place. I guess I
could either write a wizard/template to have people use, or create the
projects all upfront.

Should I take this to mean there is no way to do what I was asking? Does
this seem like it would be a useful feature to anyone? I can think of
many applications where you can change the "defaults".

If you rely on the workspace settings, you can never know when a user changes them. And there are many times I work on different projects that require or want different settings, so a project that assumes certain workspace-wide settings is either being specifcially agnostic about the settings (a situation that does not apply to this discussion) or is fundamentally flawed, in my opinion.


The problem of keeping a group of projects' settings in sync with each other is a real one; its the trade-off of project-specific settings. I've thought before of writing a plugin that would provide a nice little UI for syncing a bunch of projects' settings to a "baseline" but have never found the time to do it. I'm pretty sure such a thing would have a good chance of being accepted into the platform/JDT if contributed.

Eric



Eric Rizzo wrote:
On 2/24/2009 2:26 PM, Jason Kolter wrote:
Hello,

I'm setting up a shared multi-user install of Eclipse at work, and I was
wondering if I can set the default preferences that everyone will start
with. I know it is possible to export the "standard" preferences I've
created and baseline those, but I would like to avoid forcing everyone
to import those into each workspace.

For example, I have custom things like Java code, comment, and formatter
preferences to match our program standards, and I would like that to be
the default when a user creates a new workspace.

Is there anyway to do this besides import/export?

Have you considered the option of making those settings on a per-project basis and checking in the resulting .settings directory with your source code? That way, each project will automatically have the settings applied without relying on the user to import anything or be using your "blessed" install.

Hope this helps,
Eric