Forrest logo
back to context overview

ctags

List of commands for ctags:

  • ctags:tldr:0baff ctags: Generate tags for a single file, and output them with start line number and end line number in JSON format.
    $ ctags --fields=+ne --output-format=json ${filename}
    try on your machine
    explain this command
  • ctags:tldr:3e170 ctags: Generate tags for a single file, and output them to a file named "tags" in the current directory, overwriting the file if it exists.
    $ ctags ${filename}
    try on your machine
    explain this command
  • ctags:tldr:a8eae ctags: Generate tags for all files in the current directory, and output them to a specific file, overwriting the file if it exists.
    $ ctags -f ${filename} *
    try on your machine
    explain this command
  • ctags:tldr:f767b ctags: Generate tags for all files in the current directory and all subdirectories.
    $ ctags --recurse
    try on your machine
    explain this command
back to context overview