News for hackers. Stuff that matters.
Re:Improving GitHub Code Search by mholt on Wednesday December 08, 2021 @01:38PM (#29488583)
What's your take on developing a new code search instead of partnering with an existing global code graph like Sourcegraph? What are the advantages of GitHub Code Search over Sourcegraph?
Re:Improving GitHub Code Search by edwinyzh on Wednesday December 08, 2021 @04:45PM (#29490944)
Well, in the past I've tried Sourcegraph several times, but it never give me experiences that match the was-dead-many-years-ago Google Code Search. I wish the new github code search does that.
Re:Improving GitHub Code Search by beliu on Wednesday December 08, 2021 @11:16PM (#29493767)
Hey Edwin, if you're open to providing feedback, I'd love to understand which types of searches worked well for you in Google Code Search but not in Sourcegraph. We've invested a lot of thought into our query syntax, supporting literal matches, regex, and the Comby pattern matching syntax with a rich set of keywords and filters—but we know the syntax isn't always intuitive for every user. We're always trying to improve the experience for all our users (I'm the CTO at Sourcegraph), so if you have any recollections you're open to sharing, would love to hear them!
Re:Improving GitHub Code Search by akavel on Thursday December 09, 2021 @02:34AM (#29494819)
For me for one thing, although I do use Sourcegraph for searching public code (thanks for creating and maintaining it!), I find the website too slow and heavy-feeling. Not in a way that makes it impossible to use, for sure, but somehow just slow enough to clearly not feel "snappy" but rather "bulky" and lagging. In particular this (and maybe also some other UX choices, like not 100% always fully supporting right-clicking and "open in new tab"? Not sure now if that's indeed so, but kinda feeling I'm always afraid to do this - or maybe because I fear slowing down my browser?) makes me do less searching with it than I'd need/want to, and makes me hesitate internally every single time I'm thinking whether to open a (new) tab with Sourcegraph. Although I know the results will be very good; but I know also I'll feel tired by the lagginess.
Re:Improving GitHub Code Search by AbdallahMansour on Sunday December 12, 2021 @11:28AM (#29530934)
is there a way to change the default search context(which is global)
Re:Improving GitHub Code Search by dcreager on Friday December 17, 2021 @09:00AM (#29592194)
It's not quite what you're asking, but it you want to limit your searches to a particular repo, you can just type that into the URL bar (and then bookmark that): https://cs.github.com/$OWNER/$REPO, just like how the repo's primary site on GitHub is https://github.com/$OWNER/$REPO
Re:Improving GitHub Code Search by dstaheli on Tuesday December 14, 2021 @03:54PM (#29557535)
Not right now, but that's some common feedback that we hope to soon address.
Re:Improving GitHub Code Search by zxienin on Wednesday December 08, 2021 @02:37PM (#29489356)
+1 pretty much what was on my mind, seeing this. does this compete or complement sourcegraph?