And*_*yuk 7 eclipse configuration
一直试图弄清楚这几天,所以请不要标记为重复.
我想要的是以下内容:
使用(1)运行的多个"配置",即:
多个工作区,例如:
所以你最终只有两个捷径:
用户界面:
[path-to-installation]/eclipse -configuration [path-to-config]/Python
-data [path-to-workspace]/ui
Run Code Online (Sandbox Code Playgroud)逻辑:
[path-to-installation]/eclipse -configuration [path-to-config]/Scala
-data [path-to-workspace]/logic
Run Code Online (Sandbox Code Playgroud)问题是,"配置"参数的行为并不像我想象的那样.它似乎在做某种某种类型的"共享"配置区域...在某种意义上,目录[path-to-config]实际上正在填充像p2,插件等文件夹......
有人会认为[path-to-config]只包含子文件夹python和scala.
好的,所以我想出来了.这有点令人困惑,但在这里坚持我.关键是在config目录中有一个子目录.
因此,不要简单地使用如下配置参数定义Eclipse快捷方式:
-configuration [path-to-config]/Python
-configuration [path-to-config]/Scala
Run Code Online (Sandbox Code Playgroud)
必须分别在Python或Scala配置目录中创建另一个"子目录".任何目录名都足够了,我使用config:
-configuration [path-to-config]/Python/config
-configuration [path-to-config]/Scala/config
Run Code Online (Sandbox Code Playgroud)
我怀疑这可能与用于存储某种共享配置的配置的父目录有关.通过定义一个额外的子目录,我们可能会阻止Eclipse完全了解其他配置.
在任何情况下,如果您如上所述定义-configuration,则每个Eclipse启动都将拥有自己的插件集.
所以,作为一个例子,这两个快捷方式:
[path-to-installation]/eclipse -configuration [path-to-config]/Python/config
-data [path-to-workspace]/ui
[path-to-installation]/eclipse -configuration [path-to-config]/Scala/config
-data [path-to-workspace]/logic
Run Code Online (Sandbox Code Playgroud)
启动相同的Eclipse安装,使用完全不同的独立插件集,并使用不同的工作区.
| 归档时间: |
|
| 查看次数: |
2446 次 |
| 最近记录: |