RTAGS-RC(7)

✨ rtags-rc(7) ✨

okay bestie, welcome to the User Commands section, section 7 of your manual era πŸŽ€ β€” this is the whole vibe for rtags-rc, the RTags client. pull up a chair, we're doing this together πŸ’–


🌸 NAME 🌸

rtags-rc β€” manual page for RTags client πŸ¦‹

it's literally the manpage, for the RTags client. that's the whole name section. iconic. periodt.


✨ SYNOPSIS ✨

rtags-rc [OPTION]...

so yeah, you run rtags-rc, you can hand it some OPTIONs, and the ... is giving "as many as your heart desires, bestie" πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

rtags-rc is the RTags client application 🌈

no cap, that's it β€” that's the description. it's the client side of RTags, doing client things, being the main character of your RTags setup πŸ‘‘

fr fr, this is the short-and-sweet part. more parts are pulling up, so stay tuned, don't go anywhere 🫢

✨ OPTIONS ✨

okay bestie, this is the big one β€” every single flag, no skips, we're doing this πŸ’…

  • --verbose|-v β€” be more verbose. that's it, that's the whole vibe. it yaps more.
  • --version β€” print the current version. iconic little receipt 🧾
  • --verify-version|-t [arg] β€” verify that the correct protocol version is being used. takes an optional arg.
  • --silent|-Q β€” be silent. shhh 🀫 no output for you.
  • --help|-h β€” display this help. yes, the thing you're reading rn but in terminal form.
  • --config [arg] β€” use this file instead of ~/.rcrc.
  • --no-rc β€” don't load any rc files at all. zero. nada. free yourself πŸ¦‹

πŸ–₯️ Rdm:

  • --quit-rdm|-q β€” tell the server to shut down, with an optional exit code as the argument. dramatic exit, love that for it πŸ’€
  • --connect-timeout [arg] β€” timeout for connecting to rtags-rdm in ms. default is 1000. so one whole second of patience, then we're out.

πŸ“ Project management:

  • --clear|-C β€” clear projects. bye bye projects πŸ‘‹
  • --project|-w [optional] β€” with an arg, select the project matching that if it's unique, otherwise list all the projects. with no arg, well, you get the list vibe too.
  • --delete-project|-W [arg] β€” delete all projects matching the regex. it's giving spring cleaning 🧹
  • --job-count|-j [optional] β€” set or query the current job count. and listen: prefix with l to set low-priority-job-count. yeah, a lowercase l, sneaky little thing πŸ™ˆ

πŸ—‚οΈ Indexing commands:

  • --compile|-c [optional] β€” pass compilation arguments to rtags-rdm.
  • --guess-flags β€” guess compile flags. used together with -c.
  • --load-compile-commands|-J [optional] β€” load compile_commands.json from a directory.
  • --suspend|-X [optional] β€” with no arg, dump suspended files (aka files whose changes are not being tracked). otherwise, toggle suspension for arg. the accepted args are all, clear, project, clear-project.

πŸ” Query commands:

  • --follow-location|-f [arg] β€” follow this location. main character energy, just following it around fr.
  • --references-name|-R [arg] β€” find references matching arg.
  • --references|-r [arg] β€” find references matching this location.
  • --list-symbols|-S [optional] β€” list symbol names matching arg.
  • --find-symbols|-F [optional] β€” find symbols matching arg.
  • --symbol-info|-U [arg] β€” get cursor info for this location.
  • --status|-s [optional] β€” dump status of rtags-rdm. the arg can be symbols or symbolNames.
  • --diagnose [arg] β€” resend diagnostics for a file.
  • --diagnose-all β€” resend diagnostics for ALL the files. every last one πŸ”₯
  • --last-indexed β€” get the timestamp of the last time indexing completed for the current project.
  • --is-indexed|-T [arg] β€” check if rtags knows about β€” and is ready to return information about β€” this source file.
  • --is-indexing [optional] β€” check if rtags is currently indexing files in any project, or in the project matching pattern.
  • --has-filemanager [optional] β€” check if rtags has info about files in this directory.
  • --preprocess|-E [arg] β€” preprocess a file.
  • --asm [arg] β€” assemble a file.
  • --reindex|-V [optional] β€” reindex all files, or all files matching pattern.
  • --check-reindex|-x [optional] β€” check if reindexing is necessary for all files matching pattern.
  • --path|-P [optional] β€” print files matching pattern.
  • --current-project β€” print the path for the current project.
  • --dump-file|-d [arg] β€” dump a source file.
  • --check-includes [arg] β€” check includes for a source file.
  • --dump-file-maps [arg] β€” dump file maps for a file.
  • --generate-test [arg] β€” generate a test for a given source file.
  • --rdm-log|-g β€” receive logs from rtags-rdm.
  • --fixits [arg] β€” get fixits for a file.
  • --find-project-root [arg] β€” use this to check the behavior of find-project-root.
  • --find-project-build-root [arg] β€” use this to check the behavior of find-project-root for builds.
  • --include-file [arg] β€” use this to generate an include statement for a symbol.
  • --sources [optional] β€” dump sources for a source file.
  • --dependencies [arg] β€” dump dependencies for a source file. the options are (includes, included-by, depends-on, depended-on, tree-depends-on, raw).
  • --all-dependencies β€” dump dependencies for all source files. same list: (includes, included-by, depends-on, depended-on, tree-depends-on, raw).
  • --reload-file-manager|-B β€” reload the file manager. fresh start ✨
  • --code-complete-at|-l [arg] β€” code complete at a location, where arg is file:line:col.
  • --send-diagnostics [arg] β€” only for debugging. sends data to all -G connections. lowkey chaotic but okay.
  • --dump-completions β€” dump cached completions.
  • --dump-compile-commands β€” dump the compilation database for the project.
  • --set-buffers [optional] β€” set active buffers (that's a list of filenames for the active buffers in your editor).
  • --list-buffers β€” list active buffers.
  • --add-buffers [arg] β€” add additional buffers.
  • --remove-buffers [arg] β€” remove buffers. (the anti---add-buffers, we love a balanced queen)
  • --list-cursor-kinds β€” list the spelling for known cursor kinds.
  • --class-hierarchy [arg] β€” dump the class hierarchy for the struct/class at a location.
  • --debug-locations [optional] β€” manipulate debug locations.
  • --validate β€” validate database files for the current project.
  • --tokens [arg] β€” dump tokens for a file. and psst, --tokens file.cpp:123-321 gets you a range πŸ‘‘
  • --find-dead-functions [optional] β€” find functions declared/defined in the current file that are never used anywhere in the project. rip to them, they're done πŸ’€

🏷️ Command flags:

  • --strip-paren|-p β€” strip parens in various contexts.
  • --max|-M [arg] β€” max lines of output for queries.
  • --multi-project β€” search in all projects with the same source dir.
  • --reverse-sort|-O β€” sort output reversed. backwards bestie πŸ”„
  • --rename β€” used for --references to indicate that we're using the results to rename symbols.
  • --unsaved-file [arg] β€” pass an unsaved file on the command line. e.g. --unsaved-file=main.cpp:1200 and then write 1200 bytes on stdin.
  • --log-file|-L [arg] β€” log to this file.
  • --no-context|-N β€” don't print context for locations.
  • --path-filter|-i [arg] β€” filter out results not matching with arg.
  • --dependency-filter [arg] β€” filter out results unless argument depends on them.
  • --range-filter [arg] β€” filter out results not in the specified range.
  • --filter-system-headers|-H β€” don't exempt system headers from path filters.
  • --all-references|-e β€” include definitions/declarations/constructors/destructors for references. used for rename symbol.
  • --target-usrs β€” print all matching usr targets for -f. used for debugging.
  • --all-targets β€” print multiple targets for -f. sorted by best match. the algorithm is picking favorites, and honestly, fair.
  • --elisp|-Y β€” output elisp: (list "one" "two" ...).
  • --json β€” output json. that's the whole description, she's concise πŸŽ€
  • --json-diagnostics-include-skipped β€” output json diagnostics with skipped ranges.
  • --diagnostics|-m β€” receive async formatted diagnostics from rtags-rdm.
  • --match-regexp|-Z β€” treat various text patterns as regexps: -P, -i, -V, -F.
  • --match-icase|-I β€” match case insensitively.
  • --absolute-path|-K β€” print files with absolute path.
  • --socket-file|-n [arg] β€” use this socket file. default is XDG_RUNTIME_DIR/rdm.socket, else ~/.rdm.
  • --socket-address [arg] β€” use this host:port combination instead of --socket-file.
  • --timeout|-y [arg] β€” max time in ms to wait for a job to finish. default is no timeout at all, she waits forever, devoted πŸ’–
  • --find-virtuals|-k β€” use in combination with -R or -r to show other implementations of this function.
  • --find-file-prefer-exact|-A β€” use to make --find-file prefer exact matches over partial matches.
  • --symbol-info-include-parents β€” use to make --symbol-info include parent symbols.
  • --symbol-info-include-targets β€” use to make --symbol-info include target symbols.
  • --symbol-info-include-references β€” use to make --symbol-info include reference symbols.
  • --symbol-info-include-base-classes β€” use to make --symbol-info include baseclasses' symbols.
  • --symbol-info-include-source-code β€” use to make --symbol-info include source code.
  • --cursor-kind β€” include cursor kind in --find-symbols output.
  • --display-name β€” include display name in --find-symbols output.
  • --current-file [arg] β€” pass along which file is being edited, to give rtags-rdm a better chance at picking the right project. help her out a little 🫢
  • --declaration-only|-G β€” filter out definitions (unless inline).
  • --definition-only β€” filter out declarations (unless inline).
  • --kind-filter [arg] β€” only return results matching this kind.
  • --containing-function|-o β€” include the name of the containing function in output.
  • --containing-function-location β€” include the location of the containing function in output.
  • --build-index [arg] β€” for sources with multiple builds, use the arg'th one.
  • --compilation-flags-only β€” for --source, only print compilation flags.
  • --compilation-flags-split-line β€” for --source, print one compilation flag per line.
  • --compilation-flags-pwd β€” for --source, print pwd for the compile command on the first line.
  • --dump-include-headers β€” for --dump-file, also dump dependencies.
  • --silent-query β€” don't log this request in rtags-rdm. sneaky link 🀫
  • --synchronous-completions β€” wait for completion results and print them to stdout.
  • --synchronous-diagnostics β€” wait for diagnostics and print them to stdout.
  • --xml β€” output XML.
  • --no-sort-references-by-input β€” don't sort references by input position.
  • --project-root [arg] β€” override project root for compile commands.
  • --rtags-config [arg] β€” print out .rtags-config for argument.
  • --wildcard-symbol-names|-a β€” expand * like wildcards in --list-symbols and --find-symbols.
  • --no-color|-z β€” don't colorize context. (colorless, mood: minimalism πŸŽ€)
  • --wait β€” wait for reindexing to finish.
  • --code-complete-include-macros β€” include macros in code completion results.
  • --code-complete-includes β€” give includes in completion results.
  • --code-complete-no-wait β€” don't wait for synchronous completion if the translation unit has to be created.
  • --code-complete-prefix [arg] β€” filter out code completion results that don't start with this prefix.
  • --code-completion-enabled|-b β€” inform rtags-rdm that we're code-completing. use with --diagnose.
  • --no-spell-checking β€” don't produce spell check info in diagnostics.
  • --tokens-include-symbols β€” include symbols for tokens.
  • --no-realpath β€” don't resolve paths using realpath(3).
  • --include-path [arg] β€” dump include path for symbol.
  • --max-depth [arg] β€” max search depth. used for --include-path. don't go too deep, bestie πŸ•³οΈ

🌈 SEE ALSO

rtags-rdm(7)


and that's the whole page, bestie!! you officially know every single flag 🫢 this was rc version 2.44.135, from February 2026, filed under RTAGS-RC(7) β€” go forth and query things flawlessly, no cap πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from