保存 Eclipse 透视布局和其他东西
每次我扔掉我的.metadata(由于某些损坏或其他原因)并开始一个新的元数据时,我做的第一件事是:
- 导入我保存的首选项
- 从磁盘加载现有项目
但是仍然有一些我必须手动配置的东西才能像以前一样进行设置,特别是在我的情况下(可能还有其他东西):
- 我必须添加我使用的透视图并删除我不需要的透视图
- 我必须配置布局这些观点(特别是java一、正确使用两台显示器)。
- 为 mylyn 添加 bugzilla 任务存储库,并配置几个查询
有没有办法保存这些东西,以便我可以在需要时加载它们?我希望它们存储在首选项中...
我使用的是最新的 3.6。
every time I throw away my .metadata (due to some corruption or something) and start with a new one, first thing I do is:
- Import my saved preferences
- 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):
- I have to add the Perspectives I use and remove the ones I don't
- I have to configure the layout of those Perspectives (specially java one, to use properly two monitors).
- 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
两种解决方案:
我个人更喜欢(2)。
Two solutions :
Personally I prefer (2).
从 Eclipse Neon(也可能是 Mars)开始,您可以复制以下两个目录,以在不同的工作区之间共享您的工作台和设置/首选项:(
旁注:“复制设置”对话框对我不起作用,因为它不允许我选择任何一个复选框。)
As of Eclipse Neon (and possibly Mars, as well), you can copy the following two directories, to share your workbench and settings/preferences amongst your different workspaces:
(Side Note: The Copy Settings dialog would not work for me, as it wouldn't permit me to select either checkbox.)
这里有很好的信息 - '共享 Eclipse跨多个工作区的透视布局”
我使用下面列出的“方法#2”。
方法 2:使用复制设置
保存窗口布局的另一种方法是在切换到另一个工作区时使用“复制设置”功能。
该对话框如下所示:
尝试一下,非常简单!
Good info here - 'Share Eclipse perspective layouts across multiple workspaces'
I use their 'Method #2', listed below.
Method 2: Use Copy Settings
The other method of saving your window layout is to use the Copy Settings feature when switching to another workspace.
Here’s what the dialog looks like:
Give it a shot, quite easy!