保存日食视角布局等 [英] saving eclipse perspective layout and other things

查看:169
本文介绍了保存日食视角布局等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我丢掉我的.metadata(由于一些腐败或某些东西),并从一个新的开始,我做的第一件事是:


  1. 导入我保存的首选项

  2. 从磁盘加载现有项目

但是,还有一些我必须手动配置的东西,以便像我以前一样进行设置,特别是在我的情况下(可能还有其他的事情):


  1. 我必须添加我使用的Perspectives,并删除我不

  2. 我必须配置这些Perspectives的布局(特别是java一,正确使用两个监视器)。

  3. 为mylyn添加一个bugzilla任务转载,并配置几个查询

有没有办法保存这些信息,所以我可以在需要时加载它们我希望他们被存储在偏好中...



我最新的3.6。

解决方案

两个解决方案:


  1. 菜单 - >文件 - >开关工作区 - >其他 - >复制设置

    • 工作台布局

    • 工作集


  2. 复制/备份并将以下文件夹替换为新创建的工作区。

    • [workspace] /。metadata / .plugins / org .eclipse.ui.workbench /

    • [workspace] /。metadata / .plugins / org.eclipse.core.runtime / .settings /


我个人喜欢(2)。


every time I throw away my .metadata (due to some corruption or something) and start with a new one, first thing I do is:

  1. Import my saved preferences
  2. Load existing projects from disk

BUT there are still some things I must configure manually in order to have my setup as I have before, specially in my case (there are probably other things):

  1. I have to add the Perspectives I use and remove the ones I don't
  2. I have to configure the layout of those Perspectives (specially java one, to use properly two monitors).
  3. Add a bugzilla task repostiry for mylyn, and configure a couple of queries

Is there a way to save those thigns so I can load them back when I need? I wish they were stored in preferences...

I am on latest 3.6.

解决方案

Two solutions :

  1. MENU -> File -> Switch workspace -> Other -> Copy Settings of
    • Workbench Layout
    • Working Sets
  2. Copy/backup and replace following folder to new created Workspace.
    • [workspace]/.metadata/.plugins/org.eclipse.ui.workbench/
    • [workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings/

Personally I prefer (2).

这篇关于保存日食视角布局等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆