coxley / codesearch Goto Github PK
View Code? Open in Web Editor NEWDelightful grep for GitHub
License: Apache License 2.0
Delightful grep for GitHub
License: Apache License 2.0
Filenames inline with code worked great at Facebook because paths were more predictable, and didn't need to include repo information. Files spread across repos just have a lot of duplicate paths that get spread out.
Add an option that can be set as default for rg
style. Something like...
>cs foo bar baz
path/to/file.ext
70: foo bar baz
71: baz qux
path/to/other/file.ext
69: foo bar
72: baz
This has the added benefit of allowing the header to be the full URL without impacting legibility.
If one line has multiple matches, looks like it'll print it more than once with different highlights.
I often find myself doing a search, re-running the search with --count
to see if it's the full picture or not, and then running again with an increased --limit
.
Automatic paging could be a solution, but GitHub is quick to rate-limit. And much of the time I just want a quick look vs. exhaustive. Letting the user know that there could be more in yellow text is a decent trade-off.
Hi Codey, this project is amazing! Missing BigGrep so much.. Do you have any plans to add GitLab support as well?
Thank you
Good code, but what an awful dev.
Facebook had a few variants for BigGrep tools. The main two I remember are:
Currently we're discarding filename matches because we're focused on source code. But I just hit a few snags where I have only a filename to match on so... yeah.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.