Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source code search with Google Desktop

Is there a indexing plugin for GDS that allows for source code search? I see some for specific types (Java, C++, ...) and one for "any text". These are nice, but I would like one that allows for many/configurable extensions (HTML, CSS, JS, VB, C#, Java, Python, ...). A huge bonus would be to allow for syntax highlighting (http://pygments.org/) in the cache.

like image 859
Mike Schall Avatar asked Sep 24 '08 14:09

Mike Schall


People also ask

How do you search within source code?

Usually, the same search functions you use for normal web browsing apply to searching in your source code. Commands like CTRL + F (for Find) will help you quickly scan your source code for important SEO elements.

How do I open the search bar in source code?

Terrell. Also, if you're looking for the little search bar that Danny uses in the video, you can just hit Ctrl + F while viewing in your browser, when you have the source code open, and that search bar will pop up.


2 Answers

I just found Dropout and it seems to work great. Put Dropout in any folder and it will index all files in that folder. I put it in my Projects folder and it crawled all my code. Very fast and flexible search. Dropout

like image 85
Mike Schall Avatar answered Sep 19 '22 18:09

Mike Schall


You could use OpenGrok or some other code-specific search engine instead.

I wrote a quick review of some of them some time ago.

like image 31
Mauricio Scheffer Avatar answered Sep 22 '22 18:09

Mauricio Scheffer