TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GitHub code search – waiting list signup

99 pointsby mmqover 2 years ago

21 comments

100kover 2 years ago
Hello from the GitHub code search team! I&#x27;m really proud of this release. It&#x27;s the result of a year of hard work from multiple teams to bring the custom code search engine we built for cs.github.com to github.com. In the background, we&#x27;ve also spent a lot of time since the launch rebuilding the index format to let us scale up the system.<p>My colleague Tim Clem will be speaking at GitHub Universe today about some of technical details: <a href="https:&#x2F;&#x2F;githubuniverse.com&#x2F;events&#x2F;detail&#x2F;virtual-schedule&#x2F;49426c3f-89ed-477d-b6e1-ab08ee201aca" rel="nofollow">https:&#x2F;&#x2F;githubuniverse.com&#x2F;events&#x2F;detail&#x2F;virtual-schedule&#x2F;49...</a>
评论 #33538008 未加载
评论 #33537859 未加载
评论 #33538294 未加载
评论 #33538548 未加载
评论 #33538242 未加载
评论 #33538067 未加载
canyoneroover 2 years ago
One feature for code search that I&#x27;ve wanted for some time that could unlock some really interesting results would be to allow search to reach into the git file history.<p>I&#x27;ve found myself sometimes thinking that something existed in a particular codebase and I go to look for only to discover that I&#x27;m unable find it. Then, I realize that the code I was looking for has been removed. I can only find it by browsing back into the history figuring out the events that led to the deletion or change. Being able to search the history would be killer IMO.
评论 #33537991 未加载
评论 #33538032 未加载
评论 #33538063 未加载
davea37over 2 years ago
A couple of years ago you stopped indexing repos that hadn&#x27;t had activity for a year [0]. Will such repos be indexed by the new code search?<p>[0]: <a href="https:&#x2F;&#x2F;github.blog&#x2F;changelog&#x2F;2020-12-17-changes-to-code-search-indexing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.blog&#x2F;changelog&#x2F;2020-12-17-changes-to-code-sea...</a>
评论 #33538013 未加载
eximiusover 2 years ago
My only problem with the new code search is I&#x27;ve noticed some examples where exact string searches fail to locate some matches. I was looking for callers of a function and assumed no results meant no callers. But a simple &#x27;search all&#x27; in VS Code found results missing from GitHub code search.
pamelafoxover 2 years ago
I used this recently when I was searching for examples of CPython extensions implementing a particular feature, and it actually did help me find what I was looking for! I also used it when looking for examples of Github action workflows that did particular things. It&#x27;s nice that you can use the path: option to specify the file extension and&#x2F;or the path to the file.
semitonesover 2 years ago
This looks very similar to the internal code search product at Google (called CodeSearch). If the quality of this is going to be anywhere near that of CodeSearch, I would use it every day
juujianover 2 years ago
Honestly, I have caught myself looking for an advanced search option on my github page more than a couple of times. Just to remember that it does not exist. Long overdue!
评论 #33537850 未加载
thinkingemoteover 2 years ago
Does it still only index the primary&#x2F;default branch of a repository, or can it search within all branches? If it can now, can we filter the search for stuff within the branches of forks for a specific repository?<p>So many interesting work can only be found manually, laboriously (but is so rewarding) within the explore network graph where people work on their own branches in their own forks. Their code is never found from the search function.
评论 #33537893 未加载
评论 #33537972 未加载
andrewmcwattersover 2 years ago
&gt; Way more than grep.<p>Heck, it&#x27;d be nice if the current system right now at least did grep with users being able to toggle POSIX options. It doesn&#x27;t even do that.<p>Instead, I have to clone the entire repo to do a trivial lookup. To be fair, supporting this would require GitHub to do the compute themselves, but I have no idea what they could possibly be doing right now that&#x27;s more effective.
bonney_ioover 2 years ago
Inching closer and closer to each Github project page being one-click away from a complete, web-based IDE.
zbhoyover 2 years ago
Is this a Sourcegraph killer or does SG have other features that still keep it competitive?
评论 #33538044 未加载
mcovaltover 2 years ago
Is this the product that tree-sitter-graph [0] is being used for?<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;tree-sitter&#x2F;tree-sitter-graph" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tree-sitter&#x2F;tree-sitter-graph</a>
评论 #33539449 未加载
acedTrexover 2 years ago
I have been using cs.github.com religiously since it originally went into beta and it has increased productivity for me to insane levels. There are many features I still want but its usually *good enough
bottlepalmover 2 years ago
Developers, developers developers! Very happy Microsoft bought Github.
barbazooover 2 years ago
This will also improve the github.com code search, right? I always found it frustrating that I couldn&#x27;t really search for exact strings, even using quotes. I hope this fixes that too.
评论 #33538372 未加载
hbnover 2 years ago
I&#x27;ve been using this since January and it&#x27;s become a near daily tool for me. Very good stuff
elforce002over 2 years ago
It&#x27;s in beta. Will this service have a free version for individuals and organizations?
评论 #33538782 未加载
throwaway743over 2 years ago
Digging it. Fingers crossed github&#x27;s app search options are updated as well
revskillover 2 years ago
Dark theme is the default theme now for modern web. I found it a good thing.
jo_the_zerotonover 2 years ago
HUGE
adamnemecekover 2 years ago
Does it dedup?
评论 #33537915 未加载