eclipse workspace configuration export

Due to the demands of work and study, different workspaces are required. The new workspace of eclipse has not inherited other previous configurations, so it has to be reconfigured.
After learning from the experience of other predecessors and my own exploration, I will summarize 3 methods:

  1. Method 1: Use the export function of eclipse.
    Right-click in the working directory and select Export->General->Preference, so that the epf file can be exported, and the configuration file can be imported in the new workspace with Import. This method can indeed import most of the configurations, but not all, after importing Lost a lot of configuration.
  2. Method 2: Select other->copy setting when switching workspaces

  3. Method 3: Copy the .settings folder in workspace/.metadata/.plugins/org.eclipse.core.runtime, which contains all the configuration files. When creating a new workspace, replace the .settings folder with the new job The .settings folder in the space can be. In addition, export the toolbar dialog layout on the interface, etc.: .metadata.plugins\org.eclipse.e4.workbench can save the folder.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325050737&siteId=291194637