Maintaining a common set of Eclipse preferences

后端 未结 5 1782
轻奢々
轻奢々 2020-12-01 03:41

Whenever I switch workspaces/Eclipse installs I need to copy/redo the preferences:

  • compiler settings;
  • font sizes/families;
  • code formatter;
5条回答
  •  清歌不尽
    2020-12-01 04:06

    Eclipse now ships with a tool called Oomph Setup. This tool can be used to record the preference changes that happen in your workspace, synchronize those preferences across multiple machines using an online service, and apply the preferences to both new and existing workspaces.

    "Oomph" is actually a broader set of tools and low-level frameworks that are used throughout the Eclipse installation process, and it provides for very powerful automation possibilities, so the documentation is sometimes hard to follow for an end user who's just interested in simple preference synchronization. Here are a collection of links about Oomph Setup that I found helpful:

    • Oomph: A Matter of Preference -- Blog post providing overview of preference tool
    • Oomph Setup Documentation -- Official documentation
    • Automating Project-specific Eclipse Setups with Oomph -- Walks through how to set up Eclipse to have default settings for new workspaces and automatically update the settings for existing workspaces

提交回复
热议问题