Re:Heline – Code search for modern developer
by sqs on Sunday February 20, 2022 @03:08AM
(#30404121)
Sourcegraph (disclaimer: where I work) code search returns ~2700 results (more than the other 2 linked) and properly matches the "(" (which GitHub's current code search incorrectly ignores).
https://sourcegraph.com/search?q=context:global+boolean+isCy...
(Still, awesome to see more code search tools get built! Most devs aren't using code search and have no idea why it's awesome, so anything that changes that is a huge help.)
Re:Heline – Code search for modern developer
by ramoz on Sunday February 20, 2022 @12:29PM
(#30407354)
Wow, the Sourcegraph search is returning results I couldn’t find yesterday on GitHub. Bookmarked.
Re:Heline – Code search for modern developer
by dotancohen on Sunday February 20, 2022 @03:16AM
(#30404156)
Terrific, thank you!
Re:Heline – Code search for modern developer
by petepete on Sunday February 20, 2022 @04:31AM
(#30404441)
There's also cs.github.com which is fantastic and in beta at the moment.
Re:Heline – Code search for modern developer
by wodenokoto on Sunday February 20, 2022 @03:19AM
(#30404167)
Doesn't it ignore special characters like : , . ( ) etc.?
I remember struggling to find function definitions because `f(` would be treated like `f`
I've also not found a way to filter out tests. I know tests are also code, but most of the time I am not interested in them.
Re:Heline – Code search for modern developer
by dotancohen on Sunday February 20, 2022 @05:46AM
(#30404773)
You've got to put the search string in quotes.
https://github.com/search?q=%22boolean+isCyclic%28%22+size%3...