4 ms·
This is really cool. What are you using it for? Usage examples, debugging, etc.? I'm the CEO at Sourcegraph (universal code search for companies to use on thei
by sqs 7y ago
This is really cool. What are you using it for? Usage examples, debugging, etc.?
I'm the CEO at Sourcegraph (universal code search for companies to use on their internal code). Our product is really optimized for searching a company's internal code right now, but soon we'll start working on offering much better search for public and open-source code as well. If you'd like to help out or just chat, please reach out! sqs@sourcegraph.com
- edwinyzh 7y agoSorry, but his code search covers far more languages than yours the last time I tried yours :)
- akavel 7y agoDoesn't sourcegraph allow to just search regex over any files in a repo? This is textual search, so how are languages relevant to it? I didn't seem to have problems with that
- edwinyzh 7y agoSorry, maybe I have confused SourceGraph with https://searchcode.com https://searchcode.com, but last time I tried, it supports only most widely used languages such as Java, Python and so on, but not the language I use (Delphi/Object Pascal). I'm sorry if I'm wrong.
- sqs 7y agoSourcegraph CEO here. You can definitely search all languages (and all files, and cross-repo, and all commits, etc.) with Sourcegraph.
- edwinyzh 7y agoGreat! Do you have a live demo? like the one being Showed HN?
- sqs 7y agoHere ya go: https://sourcegraph.com/search?q=open+repo:edwinyzh+lang:pascal&patternType=regexp https://sourcegraph.com/search?q=open+repo:edwinyzh+lang:pas... (search) and https://sourcegraph.com/github.com/edwinyzh/EditBone@d9ec56affc9820940c2f96c76c996cb5cee2dbc9/-/blob/Forms/EditBone.Form.LanguageEditor.pas#L162:31&tab=references https://sourcegraph.com/github.com/edwinyzh/EditBone@d9ec56a... (find references in Pascal) Sourcegraph.com is universal code search and navigation across all public repositories. To use it on private code inside your company, run a self-hosted instance at https://docs.sourcegraph.com/#quickstart https://docs.sourcegraph.com/#quickstart. We've been so focused on internal code search for companies. See https://about.sourcegraph.com https://about.sourcegraph.com for some of the logos of well-known companies whose devs all use Sourcegraph. Because of that, our "public demo" site at Sourcegraph.com has a few limitations that we're working on lifting, such as only searching across a subset of popular repositories by default (unless you specify a specific subset with `repo:` in the query).