Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

antelle/atom-codesearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 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.

Looking for maintainer

I'm not using Atom anymore. If you would like to maintain the project, please let me know.

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