跨计算机共享 Eclipse 工作区?

2022-01-16 00:00:00 eclipse-plugin eclipse eclipse-rcp

我需要设计或使用 5 到 10 台 PC(使用 eclipse)但使用相同的工作区,我该怎么做?我已经尝试过了,但是我无法共享工作区的文件夹,请帮助

I need to design or use 5 to 10 PCs (with eclipse) but with the same workspace, how can I do that? I already tried but I can not share the folder of the workspace, please help

推荐答案

你到底想达到什么目的?

What do you want to achieve, actually?

因为工作区应该是用户特定的.它包含诸如设置、如何设置透视图、显示位置的视图等内容.这意味着如果两个用户共享一个工作区,他们将不断地写下彼此的设置.

Because the workspace is supposed to be user specific. It contains things like settings, how perspectives are setup, which view to show where. Which means if two users share a workspace they will continually write of each others settings.

为了强制执行这一点,一旦您使用工作区启动 Eclipse,它就会被锁定以防止其他人使用它.

And to enforce this, as soon as you starts Eclipse with a workspace, it is locked preventing someone else to use it.

所以共享工作空间不是一个好主意.

So sharing workspace is not a good idea.

我猜你真正想要实现的是在几个开发人员之间共享项目.使用项目集是一个很好的方法.查看我的回答,了解有关此问题的不同问题.

What I guess you really want to achieve is to share the projects between several developers. Using project sets is a good way to do that. Check out my answer for a different question regarding this.

如果您想与其他用户分享偏好,请查看这个问题获取有关进口/出口偏好的建议.

If you want to share preferences with other users, then check out this question for advice on import/export of preferences.

相关文章