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 tortags-rdmin ms. default is1000. 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 withlto setlow-priority-job-count. yeah, a lowercasel, sneaky little thing π
ποΈ Indexing commands:
--compile|-c [optional]β pass compilation arguments tortags-rdm.--guess-flagsβ guess compile flags. used together with-c.--load-compile-commands|-J [optional]β loadcompile_commands.jsonfrom 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 areall,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 ofrtags-rdm. the arg can besymbolsorsymbolNames.--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 fromrtags-rdm.--fixits [arg]β get fixits for a file.--find-project-root [arg]β use this to check the behavior offind-project-root.--find-project-build-root [arg]β use this to check the behavior offind-project-rootfor 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 isfile:line:col.--send-diagnostics [arg]β only for debugging. sends data to all-Gconnections. 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-321gets 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--referencesto 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:1200and then write1200bytes 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 fromrtags-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 isXDG_RUNTIME_DIR/rdm.socket, else~/.rdm.--socket-address [arg]β use thishost:portcombination 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-Ror-rto show other implementations of this function.--find-file-prefer-exact|-Aβ use to make--find-fileprefer exact matches over partial matches.--symbol-info-include-parentsβ use to make--symbol-infoinclude parent symbols.--symbol-info-include-targetsβ use to make--symbol-infoinclude target symbols.--symbol-info-include-referencesβ use to make--symbol-infoinclude reference symbols.--symbol-info-include-base-classesβ use to make--symbol-infoinclude baseclasses' symbols.--symbol-info-include-source-codeβ use to make--symbol-infoinclude source code.--cursor-kindβ include cursor kind in--find-symbolsoutput.--display-nameβ include display name in--find-symbolsoutput.--current-file [arg]β pass along which file is being edited, to givertags-rdma 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 inrtags-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-configfor argument.--wildcard-symbol-names|-aβ expand*like wildcards in--list-symbolsand--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β informrtags-rdmthat 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 usingrealpath(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
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
- ubuntu stonking: rtags 2.44-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms