ttags
ttags generates ctags using Tree-sitter.
Installation
macOS and Linux
Binaries are also available on the releases page of the repo. Download the tar file, and place the executable in your path.
From source
Usage
Give a list of file paths and/or directories to ttags to parse and generate.
Options
-
-aor--apend- Will keep your tag file in tact and only update the tags for the files passed. -
-ror--tag-relative- Make paths outputed in the tags file be relative to the current working directory (i.e. where you calledttags)? By default, the tag path is relative to thetag-filelocation. -
-for--tag-file=file- Path to the file where tags should be written. If-is passed, tags are outputted to stdout. -
lsp- Starts an LSP server that updates the tags for a file when the file is saved
Supported languages
- Haskell
- JavaScript
- Nix
- Ruby
- Rust
- Swift