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
It does not work for tree-sitter-commonlisp. Right now (after fixing #12) if I run tree-sitter tags ~/prj/cl+ssl/cl-plus-ssl/src/package.lisp I get just
No tags config found for path "/home/anton/prj/cl+ssl/cl-plus-ssl/src/streams.lisp"
To support tagging, the languiage impl should provide a queries/tags.scm file.
An example: The tree-sitter-ruby
After adding #14, the same tags command as above prints function definition locations. The function names are not package qualified, but I think it may be even better that way for github code navigation currently, as symbol references produced by tree-sitter parse command are also not package qualified (unless in the source code they have a package prefix)
The
tree-sitter tags
command can be used to implement "go to definition" functions. (In particular at github, I assume.)It is documented here: https://tree-sitter.github.io/tree-sitter/code-navigation-systems
It does not work for tree-sitter-commonlisp. Right now (after fixing #12) if I run
tree-sitter tags ~/prj/cl+ssl/cl-plus-ssl/src/package.lisp
I get justTo support tagging, the languiage impl should provide a queries/tags.scm file.
An example: The tree-sitter-ruby
After adding #14, the same
tags
command as above prints function definition locations. The function names are not package qualified, but I think it may be even better that way for github code navigation currently, as symbol references produced bytree-sitter parse
command are also not package qualified (unless in the source code they have a package prefix)The text was updated successfully, but these errors were encountered: