Replacement for Google Code Search? [closed]

妖精的绣舞 提交于 2019-11-27 16:35:10

searchcode

I think Open Hub Code Search (previously called ohloh and koders) was a good alternative, but it was closed recently. [Discontinued]

akaihola

I have reviewed the following sites

The good

The broken or unsuitable

(I'll have to try these again later)

  • Antepedia (GitHub login broken as of 2016-08-23; no code search?)
  • SymbolHound (generic search engine, not just code)
  • Codase (only C, C++, Java; service unavailable as of 2016-08-23)
  • Codefetch (unreachable as of 2016-08-23)

The dead

When I originally did the review, Koders turned out to be the winner for my purposes, but I really liked the user interface and features of SymbolHound Code Search better. The only problem with SymbolHound was the small number of sites it has indexed. The search[code] engine was also promising at that time.

Many of the sites I've reviewed have since been discontinued completely or have disabled their code search functionality. Krugle and search[code] seem to be chugging along, and GrepCode is good if you live in the Java world.

Another one to consider is http://searchcode.com/ It supports regex search as Google Code search does. For example,

http://searchco.de/?q=/[cb]at/
http://searchco.de/?q=/a{2,3}/
http://searchco.de/?q=/^import/
http://searchco.de/?q=/atoi/%20ext:c
http://searchco.de/?q=/dll$/

Are all valid searches.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!