Super-fast search for code using different search engines:
- ripgrep (
rg
) - The Silver Searcher (
ag
) - The Platinum Searcher (
pt
) - Google CodeSearch (
csearch
)
You will find this package useful if searching across your code takes a lot of time. With CodeSearch, it's a couple of seconds.
I'm not using Atom anymore. If you would like to maintain the project, please let me know.
- install this package
- install your preferred search engine:
- ripgrep
- The Silver Searcher
- The Platinum Searcher
- Google CodeSearch
- install and configure Go:
export GOROOT=/usr/local/go; export GOPATH=$HOME/go
- download and build Google CodeSearch:
Or, the original Google version:go get github.com/sidiandi/codesearch/cmd/...
github.com/google/cmd/...
Mac: cmd-alt-shift-F
Windows, Linux: ctrl-alt-shift-F
Open Find with CodeSearch window
Reindex project files: there's no option to auto reindex at the moment.
If you're using Google CodeSearch, please use cindex
to purge or manage your index.
Useful opts
:
--max-columns=1024 --type-not=svg
There's a better version in this fork, it supports many options, like configurable exclusions, index path and so on, and provides binaries for all OS: https://github.com/sidiandi/codesearch
Useful indexer opts for it:
-exclude .gitignore
This package needs your help:
- update index on file changes
- better installation docs