4

I usually have a different workspace for each project that I work on (perl, java, PHP, etc.). Sometimes, I find a common new plugin (say EGIT) and install it , but it doesn't show up automatically in the other workspaces. Is there some setting in eclipse where I can enable this? I am using Indigo SR2.

Thanks!

P.S.: I know we have working sets within workspaces to help re-use the same workspace, but sometimes it is easier to manage projects when in separate workspaces.

Kilokahn
  • 2,281
  • 1
  • 25
  • 50

4 Answers4

2

If you are using the same Eclipse installation, each plug-in that you install will be available in all workspaces. You can see the list of installed plug-ins by selecting Help -> About Eclipse -> Installation Details

rgerganov
  • 2,182
  • 21
  • 20
  • Not true. We have a single instance of eclipse shared by users with different workspaces. It won't show up in the installation details and it won't appear for usage – ernesto Jul 13 '12 at 12:28
2

From Eclipse Indigo onwards, there is a way to import installations which makes it available across workspaces.

Community
  • 1
  • 1
Kilokahn
  • 2,281
  • 1
  • 25
  • 50
1

To go with rgerganov's answer: For certain plugins, although they're installed and available to all workspaces for a given Eclipse installation, they may need to be individually configured within each workspace. An example of this is the Checkstyle plugin where you need to specify the configuration to use, and enable it for each project within the workspace. This may also be the case for EGit.

Roadkillnz
  • 773
  • 1
  • 6
  • 14
  • 2
    As rgerganov rightly pointed out, the plugins are showing up in the installation details, but where do I specify "configuration" for it to be usable? You can use Checkstyle as an example as I have a problem with that plugin as well. Thank! – Kilokahn Jul 06 '12 at 04:27
  • Running blind here as I don't have Eclipse near me at the moment, but from memory you right-click on the project in the workspace explorer, click on the "Checkstyle" context menu, and select "Configure Checkstyle". From within the configuration menu you can point it to a file location (or other suitable options). Sorry for the vagueness. If you can't find the option, let me know and I'll take a look when I can. – Roadkillnz Jun 03 '14 at 03:37
0

For now, I had to use the trick mentioned in here of copying the relevant prefs files from one of the workspace directory to the new workspace directory followed by an eclipse restart to get the plugins enabled. Others feel free to edit if you see a better way.

Community
  • 1
  • 1
Kilokahn
  • 2,281
  • 1
  • 25
  • 50