Thursday, December 16, 2004

MSN Desktop search (or other search engine) is definitely the new must-have tool for developers, specially if you work with a laaaaaaarge code base. The title is self-explaining:

  •  install MSN Desktop search,
  • set up the indexing to point the source code folders
  • wait a few hours for indexing depending on the size of your project
  • pick any class or method and write it in the search bar...

The results are just lovely! It is easy to browse, relevant and fast! 

posted on Friday, December 17, 2004 5:24:00 AM UTC  #    Comments [9]
Tracked by:
"sacred heart tattoo" (online) [Trackback]
Monday, June 06, 2005 4:52:28 PM UTC
TOURNEY LOGIC LINK BLOG
Monday, June 06, 2005 4:52:28 PM UTC
nice tip, I'm always thinking 'didn't I write something that does this a while a go' and then having to go rooting for it project by project.
OmegaSupreme
Monday, June 06, 2005 4:52:28 PM UTC
I haven't used grep since installing MS Desktop Search - it works great.
<br>
<br>
Jeff Lewis
Monday, June 06, 2005 4:52:29 PM UTC
If you've got a large codebase and a large team, a better solution would be to set up a dedicated index server. That way, you only need one index for your entire team, and only need to keep one index up to date.
<br>
<br>The MS Indexing Service is built into Windows (since Win2k). Install the C++ IFilter from the VC Powertools (<a target="_new" href="http://www.gotdotnet.com/team/cplusplus/">http://www.gotdotnet.com/team/cplusplus/</a>), and create a catalog that points to your source. You can then use the GUI or command-line client (also in the VC Powertools) to search the catalog across the network.
<br>
<br>I wrote a VS.net plugin to automate the searching process a while back. My team here at work loves it. I might release it if I can convince my employer...
<br>
Ian Prest
Monday, June 06, 2005 4:52:29 PM UTC
Ian, indeed having a dedicated server for this would be an elegant solution.
<br>Will have a look.
<br>
Jonathan de Halleux
Monday, June 06, 2005 4:52:29 PM UTC
Or, you can use ReSharper. (<a target="_new" href="http://www.jetbrains.com/resharper">http://www.jetbrains.com/resharper</a>)
Michael Teper
Monday, June 06, 2005 4:52:29 PM UTC
We have been using a unix port of grep for this and it has worked great.
Dave Buckner
Monday, June 06, 2005 4:52:29 PM UTC
You have findstr on windows.
Jonathan de Halleux
Monday, June 06, 2005 4:52:30 PM UTC
Have you actually tried using MSN Desktop search (or Google Search) for code?
<br>
<br>We've tried both only to find that it often will not find all instances of things we've searched for in our codebase.
<br>(especially in ASP files, for some reason).
<br>
<br>Not very useful if you can't trust it.
<br>
Greg S
Comments are closed.