8 ms·
Googler here. We have the same Code Search tool internally, this is honestly one of my favorite things about working at Google. Great to see this open sourced.
by vikinghckr 7y ago
Googler here. We have the same Code Search tool internally, this is honestly one of my favorite things about working at Google. Great to see this open sourced.
- sophiebits 7y agoIt hasn’t been open sourced, right?
- kyrra 7y agoCorrect. This is just exposing indexed versions of some of our larger open source projects with this code search. Chromium also has its code indexed by the older version of this tool: https://cs.chromium.org/ https://cs.chromium.org/
- jedimastert 7y ago> Chromium also has its code indexed by the older version of this tool: https://cs.chromium.org/ https://cs.chromium.org/ Chromium recently switched over to a new version of code search.
- krackers 7y agoThey seem to have reduced the information density and killed readability as well with the "material ui" redesign. The old code search UI was perfect, with enough contrast to allow you to quickly grep through xrefs to locate relevant entries. The page itself was lightweight as well. Compare that to the redesign where each xref jump has me staring at a spinner for half a second, the xref bar has no visual separation between type, filename, and code snippet, all buttons visually indistinguishable with a blue on white color scheme, the "layers" dropdown is replaced with a mishmash of buttons scattered across the layout, etc. I really hope they're not forcing this abhorrent redesign on their developers as well.
- jbroman 7y agoSpecifically, the new version is at https://source.chromium.org/ https://source.chromium.org/, and the Android counterpart is https://cs.android.com/ https://cs.android.com/.
- ehsankia 7y agoI guess source.android.com was taken :)
- deleted 7y ago[deleted]
- bskap 7y agoThe site itself has not been, but the library used to build the map of cross-references is https://kythe.io/ https://kythe.io/
- akhilcacharya 7y agoConfusing. What exactly is special about this code search system? Seems common for internal code search
- cromwellian 7y agoThis is missing tons of functionality and layers that the internal one has tho, like all of the automatic code analysis and linting, coverage and fuzzing integration, etc
- snazz 7y agoSome of those features are available with Cloud Source Repositories now too.
- thedance 7y agoHow would the open version support things like the hot functions layer? It makes sense these are missing.
- xster 7y agoHow could it though? Without (bazel) BUILD files, it couldn't even know how to build everything.