Skip to content

joesolly/atom-codesearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atom CodeSearch

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.

Installation

  1. install this package
  2. install your preferred search engine:

Usage

Mac: cmd-alt-shift-F
Windows, Linux: ctrl-alt-shift-F

Commands

Code Search: Toggle

Open Find with CodeSearch window

Code Search: Reindex Project

Reindex project files: there's no option to auto reindex at the moment.

Index management

If you're using Google CodeSearch, please use cindex to purge or manage your index.

Tips & Tricks

ripgrep

Useful opts:

--max-columns=1024 --type-not=svg

Google CodeSearch

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

Contributing

This package needs your help:

  • update index on file changes
  • better installation docs

About

Super-fast search for code using Google CodeSearch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%