Skip to content
/ csearch Public

csearch: An incomplete code search web interface experiment

Notifications You must be signed in to change notification settings

evanj/csearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csearch: A Code Search experiment

I was inspired by Russ Cox's Regular Expression index article and by Sublime Text's "find anything" feature to build a code search web tool. Ås with most things this is an incomplete proof of concept more than anything.

Usage

  • Install: go get github.com/evanj/csearch
  • Run: csearch (path to search) e.g. csearch $GOPATH/src

In the "Query" box, type a regexp and click search. The results are ugly, sorry.

In the "file name live" box, start typing. It will display a "live" list of results. This is both ugly and the results are not high quality.

codesearch fork

I've forked codesearch into github.com/evanj/codesearch to be able to read the file names from the index file. This is a bit of overkill but it works. To get it, I've used govendor fetch github.com/google/codesearch/^::github.com/evanj/codesearch to set up the vendor path correctly. This means the fork maintains the original import paths for easy merging.

About

csearch: An incomplete code search web interface experiment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages