Specific plugins per workspace

前端 未结 5 1792
感情败类
感情败类 2021-01-31 11:48

I came across this post and wondered if there is a way to activate only a few of all of my installed plugins depending on the workspace I currently work in.

For example

5条回答
  •  耶瑟儿~
    2021-01-31 12:08

    Maybe you can achieve your goal but it needs lots of "customization work" so I would not do it for myself :)

    • Create a "minimal" Eclipse install with plugins you use all of your workspaces.
    • Create one dropins folder for every workspace and put all of your "workspace-specific plugins" into that folder.
    • Create an Eclipse shortcut for all workspaces and use something like "-data _workspacedir_ -vmargs -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=_dropindir_" in the shortcut.
    • Start eclipse with one of your new shortcuts.

    Note that in this case you cannot switch workspace within Eclipse, you have to close the current one and start the new one using the corresponding shortcut.

    UPDATE: I have found some Eclipse feature request for making this kind of setup easier if they will be implemented:

    • Software Update must allow to install plug-ins into extension location
    • Support for multiple bundle pools

提交回复
热议问题