Will this allow for a happy closure of this question about searching partial words? [0] Like searching for "OPTION" and getting "-DOPTION=TRUE" among the results. Very commonly needed to find all usages of a flag, even instances where the flag is being passed to (at least, that I know of) CMake and Meson. [0]: https://stackoverflow.com/questions/43891605/search-partial-...
The technology behind GitHub’s new code search
121–130 of 187 posts
Re: The technology behind GitHub’s new code search
#122I use their new code search a lot to grok how people use certain features, or implement certain things. But I do wish there was a way to filter out forks. Sometimes I search a string and just get a bunch of forks all with the same result. For example, searching a common class in a Rails app often just shows a bunch of rails/rails forks, which is a lot of noise to sift through when you're trying to see how devs common…
Re: The technology behind GitHub’s new code search
#123I use their new code search a lot to grok how people use certain features, or implement certain things. But I do wish there was a way to filter out forks. Sometimes I search a string and just get a bunch of forks all with the same result. For example, searching a common class in a Rails app often just shows a bunch of rails/rails forks, which is a lot of noise to sift through when you're trying to see how devs common…
Re: The technology behind GitHub’s new code search
#124Re: The technology behind GitHub’s new code search
#125I use their new code search a lot to grok how people use certain features, or implement certain things. But I do wish there was a way to filter out forks. Sometimes I search a string and just get a bunch of forks all with the same result. For example, searching a common class in a Rails app often just shows a bunch of rails/rails forks, which is a lot of noise to sift through when you're trying to see how devs common…
When trying out some C++ I was surprised by how many projects bundled the library source code, essentially finding any actual client code a pain.
Re: The technology behind GitHub’s new code search
#126I use their new code search a lot to grok how people use certain features, or implement certain things. But I do wish there was a way to filter out forks. Sometimes I search a string and just get a bunch of forks all with the same result. For example, searching a common class in a Rails app often just shows a bunch of rails/rails forks, which is a lot of noise to sift through when you're trying to see how devs common…
As an open source library maintainer I've been using it for that too - it's fantastic for answering questions like "is anyone using this API method I wrote?" and "how much of a mess would it likely cause people if I deprecated this function?"
Re: The technology behind GitHub’s new code search
#127Re: The technology behind GitHub’s new code search
#128Re: The technology behind GitHub’s new code search
#129Will this allow for a happy closure of this question about searching partial words? [0] Like searching for "OPTION" and getting "-DOPTION=TRUE" among the results. Very commonly needed to find all usages of a flag, even instances where the flag is being passed to (at least, that I know of) CMake and Meson. [0]: https://stackoverflow.com/questions/43891605/search-partial-...
Yes. You can also use regular expressions to limit your search. Details: https://docs.github.com/en/search-github/github-code-search/...