code-search-engine

Google using non-alphanumeric characters

So let's say I have an issue with some code and I want to use google to help find a solution. So I paste a code snippet into the search bar. Google will ignore any special characters like operators (especially the '.' operator), returning results that aren't as relevant as I'd like. This is true even when encasing it in double quotes....

Any recommended source code browser/explorers (Windows/C/C++)?

I'm looking for any recommendations for source code browsers, but especially ones that work on a large evolving source code base (somtimes in the order of 100k files, but more often about 10k files). My requirements would be: Some level of C/C++ language symbol parsing Straight text searches (with some regex) The tools also should allo...

Find in Files: Search all code in Team Foundation Server

Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe... Currently I perform a Get Latest on the entire codebase and use Windows Search, but this gets quite painful with over 1GB of code in 75,000 files. EDIT: Tried the powerto...

Searching subversion history (full text)

Is there a way to perform a full text search of a subversion repository, including all the history? For example, I've written a feature that I used somewhere, but then it wasn't needed, so I svn rm'd the files, but now I need to find it again to use it for something else. The svn log probably says something like "removed unused stuff", ...

What is a good tool to aid in browsing/following C code?

I sometimes need to modify OSS code or other peoples' code (usually C-based, but sometimes C++/Java) and find myself "grep"ing headers for types, function declarations etc. as I follow code flow and try to understand the system. Is there a good tool that exists to aid in code browsing. I'd love to be able to click on a type and be take...

In-house full-text search engine for source code and SQL scripts

I like to run search engine on code, and if you aren't I recommend it (especially if you code in a team and you don't have all the lines of code in your head). When I vaguely remember some variable name or class name, but I can't remember where I saw it, I just run the search. Pre-indexed full-text search system is way faster than grepin...

What tool do you use to index C/C++ code?

I am working with a very large code in C/C++. Indexing and referencing is a must in this environment. What tools would you recommend for viewing/browsing the code? Preferably open source. I tried CDT for indexing but it is useless. Other tools I've tried is cscope, but it does not work well with C++... ...

What's a good source code search engine?

The codebase I work on is huge, and grepping it takes about 20 minutes. I'm looking for a good web-based source code search engine.. something like an intranet version of koders.com. The only thing I've found is Krugle Enterprise Edition, which doesn't post its prices... and if you have to ask, you can't afford it. I'd really prefer a...

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://pygme...

Best Tools for Software Maintenance Engineering

Yes, the dreaded 'M' word. You've got a workstation, source control and half a million lines of source code that you didn't write. The documentation was out of date the moment that it was approved and published. The original developers are LTAO, at the next project/startup/loony bin and not answering email. What are you going to do? ...

What are the open source code search engines you know about?

I know of google code search http://www.google.com/codesearch and koders http://www.koders.com/ . These two sites help me find usage of some of the libraries, where official documentation of the libraries would go only so far. If you know of some other tools/tips for using these search tools/other tips for finding library usage examples,...

Source Code Analysis - what do you do?

Situation: I have some source code, and I'm boning up on what happens. Who calls what, what goes where, etc, etc. (There is minimal documentation/comments, so I have to work it out myself). Now, my usual solution is to fire up a splitscreen text editor and stare at the code until I understand it, or maybe print it and write all over it ...

SVN Repository Search

Is there any good software that will allow me to search through my SVN respository for code snippets? I found 'FishEye' but the cost is 1,200 and well outside my budget. ...

C++ source code comprehension tools

I'm starting work on a huge C++ codebase, and was wondering if someone could suggest good source code comprehension tools. I usually use doxygen but was curious to see if anything better existed. Thanks. ...

Generic source code browser for Windows and Linux

Hi, I am looking for a generic source code browser for Windows and Linux. The languages I use are limited to C/C++, Python and Perl. This tool must be able to show a view of classes/methods/functions in a tab or some similar user interface. It would be great if it could have equivalents of the VS "Go to declaration/definition" as well...

How can I find projects across multiple open-source code repositories?

There are lots of open-source code repositories - SourceForge, Google Code, Project Kenai, etc. Is there a one-stop place where I can find, discover, or search for open-source projects across all of these repositories? Or do I have to visit all of them to find something I'm interested in? Edit: I should specify that I'm interested i...

Indexing and Presenting Source code

I am looking for software tools similar to lxr (open source and free if possible) ...

Hosted Projects Meta Search Engine

With the myriad of sites available like sourceforge, github, berlios, rubyforge and many others for hosting open-source projects, I've been wondering if there is a specialised search engine out there that catalogues all the projects available on these different sites. I'm not talking about a search engine to search actual source code li...

Who calls this function?

At my last job (legacy FORTRAN 77 code), we had files of cross references that list what subroutines called other subroutines, in what files subroutines were defined, what common blocks held what variables, what subroutines included what common blocks, etc. These were then used by shell scripts that grepped the cross reference files and...

Text indexer search tool which can filter by punctuation?

This is not a programming question per se but a question about searching source code files, which help me in programming. I use a search tool, X1, which quickly tells me which source code files contain some keywords I am looking for. However it doesn't work well for keywords which have punctuation attached to them. For example, if I sea...