Skip to content

Comment on Indexing Code at Scale with Glean

Comments

my favorite feature of code indexing at FB was how well integrated it was. Web search, cli search and IDE search all used the search index, but would reference your local context. This was useful for reference, call stack, dead code search.

e.g. search results from ide search would link back to your local file. CLI results would reference your local clone.

A great example of a small feature resulting in great usability.

By IDE search do you mean that it was using glean even in your local vscode? Does glean therefore work in combination with LSPs, because scip says that code modifications are a non-goal and now I wonder why somebody would create such a big tool only for local code to still just use LSPs and never use the server version of code navigation (scip or glean).

It used the server version and references mapped back to the local clone when you clicked on a result.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.