Questions tagged [code-search-engine]

41 questions
165
votes
4 answers

Replacement for Google Code Search?

Google Code Search has been incredibly valuable to me as a developer - I use it a couple times a week to see how other developers have used (usually poorly documented) APIs. It's also convenient to see the internals of some of those APIs, or to…
Nicholas Armstrong
  • 5,624
  • 2
  • 26
  • 18
156
votes
14 answers

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.
John
  • 1,583
  • 2
  • 10
  • 3
102
votes
12 answers

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…
Mark Glorie
  • 3,653
  • 3
  • 25
  • 31
22
votes
11 answers

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…
toohool
  • 1,007
  • 1
  • 9
  • 13
21
votes
7 answers

How can I index our internal source code?

Google Code Search has indexed Subversion and Mercurial repositories, so people can search open source projects. How can I do the same for my company's repository with the least effort and without publishing our code? We have Trac (with Subversion)…
Jader Dias
  • 81,082
  • 147
  • 410
  • 611
18
votes
9 answers

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…
Joel Coehoorn
  • 362,140
  • 107
  • 528
  • 764
18
votes
6 answers

Fast 'Find in Files' for VIM?

What are some options for getting really fast 'Find in Files' searching in VIM? Our codebase is large enough that searching needs to work off an index. grep/vimgrep/etc are too slow. Indexing doesn't need to be particularly fast; I can index…
Christopher Stott
  • 1,268
  • 3
  • 14
  • 23
15
votes
6 answers

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#,…
Mike Schall
  • 5,621
  • 3
  • 34
  • 46
13
votes
27 answers

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…
Chris
12
votes
6 answers

Google Code Search-like source code indexer and visualizer

I'm looking for a way to search through our subversion repository or just packaged source code. Are there any downloadable servers/tools like Google Code Search to index source code (preferable with support of version control systems like svn) and…
m_vitaly
  • 11,389
  • 4
  • 43
  • 59
8
votes
12 answers

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…
Simon Peverett
  • 3,855
  • 3
  • 28
  • 35
7
votes
0 answers

How to set a manual filter on Google Custom Search Engine (free version)

How can I set a manual filter on Google Custom Search Engine (not from CSE panel)? For example, to open the link in a new tab I'm using this code: Now I want to set the "safe…
Leo
  • 288
  • 4
  • 25
6
votes
1 answer

How to escape search strings in TFS Code Search

Really loving the 'new' code search feature of TFS, but I am unable to guess how to escape " an .. I want to find places in my code where I am using "SOMESTRING." in my code, but when searching for this the search engine seems to strib " and . so…
Tore Østergaard
  • 3,702
  • 3
  • 25
  • 39
4
votes
8 answers

Text search tool for large source code set with up to date pre-indexing?

I'm doing maintenance of a few branches of middle-size C++ project (~15k files for each branch). Very often I have to search all project files for given string or regex. Currently I'm using Total Commander which has all features I want…
tomash
  • 12,372
  • 15
  • 61
  • 80
4
votes
1 answer

Algorithm for finding internally connected cluster of nodes within a graph from which no edge points outwards

I am representing my graph as a adjacency list. I want to know how can I find a cluster of nodes which are internally connected but no edge points outwards from them. Is there any well known algorithm out there which I can use? for e.g.This is my…
Anon
  • 2,435
  • 5
  • 23
  • 36
1
2 3