You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quoting tree-sitter docs:
> Tree-sitter can be used in conjunction with its query language as a
> part of code navigation systems. [...] A notable application of this
> is GitHub's support for search-based code navigation.
assuming github is willing to continually run the indexing on a
repository with as much activity as nixpkgs, this should mean that
clicking a function on github allows you to navigate to/from the
definition of the function.
On my laptop, for nixpkgs:
> $ time bash -c "tree-sitter tags --paths <(git ls-files | rg '[.]nix$') >/dev/null 2>&1"
> bash -c 7.40s user 1.14s system 100% cpu 8.501 total
Signed-off-by: Nicholas Sielicki <[email protected]>
0 commit comments