Eclipse Zone is brought to you in partnership with:

Erich is Professor at Lucerne University of Applied Sciences and Arts and Distinguished Member of Technical Staff at Freescale Semiconductor. Erich has a MsCS degree and 18+ years of experience in the embedded software and tools world. He created many embedded cross C/C++ compilers and debuggers. Additionally he is researching in the domain of programming languages, real time and mechatronic systems. Erich is a DZone MVB and is not an employee of DZone and has posted 98 posts at DZone. You can read more from them at their website. View Full User Profile

5 Best Eclipse Plugins: System and Desktop Search

05.02.2012
| 9200 views |
  • submit to reddit

Ranked as number 3 on my list of Eclipse plugins is something I missed in Eclipse, but what I heavily use in Microsoft Visual Studio: The ability to search files anywhere on my computer. As outlined in Compare and Merge with Eclipse, eclipse is very workspace focused: I can only search files which are inside my workspace. Well, unless I use the System Search and Desktop Search plugins. They are not one of the usual plugins. Here is what you can get (or search) …

The System Search has been implemented by Nokia back in 2008. Ken Ryall presents the implementation in his blog post. The plugin sources are attached to this eclipse issue/feature request. What I need for CodeWarrior MCU10 is the plugin jar file which can be downloaded from here. I place the .jar file into my <MCU10InstallationPath>\eclipse\plugins folder, and restart the IDE. Then I have a new menu Search > System available:

System Search Menu

System Search Menu

This gives me the ability to specify a folder name for my search:

System Search Dialog

System Search Dialog

The search result shows up in the System Search view:

System Search Results

System Search Results

I really love that plugin. I mentioned that this plugin is not a usual one. Why? Because although it is really great, it did not make it (yet?) into the official eclipse. Instead, the Mylyn project has picked up the idea of System Search and implemented something similar. Mylyn is am eclipse framework for project and defect management, and implements the Desktop Search.  See this blog from Tasktop by David Green which gives the deatils. The Desktop Search is available in the Incubator version of Mylyn. To install it, point the eclipse updater to following site:
http://download.eclipse.org/mylyn/incubator/3.7

From there, install the “Mylyn Desktop Search (Incubation)”:

Mylyn Desktop Search Download

Mylyn Desktop Search Download

This installs a new menu under the Search menu:

Desktop Search Menu

Desktop Search Menu

“Desktop Search…” allows me to search for files containing a given text:

Desktop Search Dialog

Desktop Search Dialog

I wondering why I cannot specify a folder name here? Because Desktop Search is using the Windows Search (the Microsoft one, at least on Windows host). So it is searching whatever is reached by the Windows Search. The results show up like this:

Desktop Search Results

Desktop Search Results

The combination of the System Search and the Desktop Search gives me the flexibility to search outside my workspace. Maybe time to uninstall Visual Studio ;-) ?

Happy System and Desktop Searching :-)

Published at DZone with permission of Erich Styger, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)