RTAGS-RDM(7)
π NAME π
okay bestie, gather round β this is rtags-rdm, the manual page for the RTags server. it's giving "the backend that does all the actual work while you vibe in your editor" β¨
π¦ SYNOPSIS π¦
rtags-rdm [OPTION]...
πΈ DESCRIPTION πΈ
okay so. RTags is a client/server application that indexes C/C++ code and keeps a persistent file-based database of references, declarations, definitions, symbolnames etc. and yes, there's also limited support for ObjC/ObjC++. it lets you find symbols by name (nested class and namespace scope included, we're not cowards). most importantly?? we give you proper follow-symbol and find-references support. we also have neat little things like rename-symbol, and integration with clang's "fixits" (http://clang.llvm.org/diagnostics.html). we also integrate with flymake using clang's vastly superior errors and warnings. and since RTags constantly reindexes "dirty" files, you get live updates of compiler errors and warnings. and because we already know how to compile your sources, we have a way to quickly bring up the preprocessed output of the current source file in a buffer. slay.
now, while existing taggers like gnu global, cscope, etags, ctags etc do a decent job for C, they often fall a little bit short for C++. with its incredible lexical complexity, parsing C++ is an incredibly hard task, and we make no bones about the fact that the only reason we are able to improve on the current tools is because of clang (http://clang.llvm.org/). RTags is named RTags in recognition of Roberto Raggi, on whose C++ parser we intended to base this project β but he assured us clang was the way to go. the name stuck though. π
β¨ OPTIONS β¨
--help|-hβ Display this page. (hi, you're literally reading it rn π«Ά)--versionβ Display version.--include-path|-I [arg]β Add additional include path to clang.--no-libclang-include-pathβ Don't use the include path from libclang.--isystem|-s [arg]β Add additional system include path to clang.--define|-D [arg]β Add additional define directive to clang.--default-argument [arg]β Add additional argument to clang.--log-file|-L [arg]β Log to this file.--crash-dump-file [arg]β File to dump crash log to (default is<datadir>/crash.dump). π--setenv|-e [arg]β Set this environment variable (--setenv "foobar=1").--no-Wall|-Wβ Don't use-Wall.--Weverything|-uβ Use-Weverything. (go off king, be warned by literally everything π)--verbose|-vβ Change verbosity, multiple-v's are allowed.--job-count|-j [arg]β Spawn this many concurrent processes for indexing (default to the number of available processing units or 2 otherwise).--test|-t [arg]β Run this test.--tempdir [arg]β Use this directory for temporary files. Clang generates a lot of these and rtags will periodically clean out this directory (default is$TMPDIR/rtags/)--test-timeout|-z [arg]β Timeout for test to complete.--clean-slate|-Cβ Clear out all data. (nuclear option fr fr π§¨)--disable-sighandler|-xβ Disable signal handler to dump stack for crashes.--silent|-Sβ No logging to stdout/stderr.--exclude-filter|-X [arg]β Files to exclude fromrtags-rdm(default"*/CMakeFiles/*;*/cmake*/Modules/*;*/conftest.c*;/tmp/*;/private/tmp/*;/private/var/*".)--socket-file|-n [arg]β Use this file for the server socket (default isXDG_RUNTIME_DIR/rdm.socketelse~/.rdm).--data-dir|-d [arg]β Use this directory to store persistent data (default$XDG_CACHE_HOME/rtagsotherwise~/.cache/rtags).--ignore-printf-fixits|-Fβ Disregard any clang fixit that looks like it's trying to fix format forprintfand friends.--error-limit|-f [arg]β Set error limit to argument (-ferror-limit={arg}) (default 50).--block-argument|-G [arg]β Block this argument from being passed to clang. E.g.rtags-rdm --block-argument -fno-inline--no-spell-checking|-lβ Don't pass-fspell-checking.--large-by-value-copy|-r [arg]β Use-Wlarge-by-value-copy=[arg]when invoking clang.--no-startup-project|-oβ Don't restore the last current project on startup.--no-no-unknown-warnings-option|-Yβ Don't pass-Wno-unknown-warning-option.--no-no-stdincβ Don't pass-no-stdincor-nostdinc++even if otherwise asked to.--ignore-compiler|-b [arg]β Ignore this compiler.--compiler-wrappers [arg]β Consider these filenames compiler wrappers (split on;), default"ccache".--watch-system-paths|-wβ Watch system paths for changes.--rp-visit-file-timeout|-Z [arg]β Timeout forrp visitfilecommands in ms (0 means no timeout) (default 60000).--rp-indexer-message-timeout|-T [arg]β Timeout forrp indexer-messagein ms (0 means no timeout) (default 60000).--rp-connect-timeout|-O [arg]β Timeout for connection fromrptortags-rdmin ms (0 means no timeout) (default 0).--rp-connect-attempts [arg]β Number of timesrpattempts to connect tortags-rdmbefore giving up. (default 3).--rp-nice-value|-a [arg]β Nice value to use forrp(nice(2)) (default is no nicing).--suspend-rp-on-crash|-qβ Suspendrpin SIGSEGV handler (default off).--rp-log-to-syslogβ Makerplog to syslog.--start-suspended|-Qβ Start out suspended (no reindexing enabled).--separate-debug-and-release|-Eβ Normallyrtags-rdmdoesn't consider release and debug as different builds. Pass this if you want it to.--separate-32-bit-and-64-bitβ Normallyrtags-rdmdoesn't consider-m32and-m64as different builds. Pass this if you want it to.--ignore-include-path-differences-in-usrβ Don't consider sources that only differ in includepaths within/usr(not including/usr/home/) as different builds.--max-crash-count|-K [arg]β Max number of crashes before giving up a sourcefile (default 5).--max-socket-write-buffer-size [arg]β Max number of bytes buffered after EAGAIN.--completion-cache-size|-i [arg]β Number of translation units to cache (default 10).--completion-no-filterβ Don't filter private members and destructors from completions.--completion-logsβ Log more info about completions.--completion-diagnostics [optional]β Send diagnostics from completion thread.--rp-daemon [arg]β Keep this manyrpdaemons alive and cache the last tu. (default 2)--max-include-completion-depth [arg]β Max recursion depth for header completion (default 3).--allow-Wpedantic|-Pβ Don't strip out-Wpedantic. This can cause problems in certain projects. β οΈ--allow-Werrorβ Don't strip out-Werrorand-Wfatal-errors. By default these are stripped out.--enable-compiler-manager|-Rβ Query compilers for their actual include paths instead of letting clang use its own. This is now the default. Kept for backwards compatibility.--disable-compiler-managerβ Do not query compilers for their actual include paths instead of letting clang use its own.--enable-NDEBUG|-gβ Don't remove-DNDEBUGfrom compile lines.--progress|-pβ Report compilation progress in diagnostics output.--max-file-map-cache-size|-y [arg]β Max files to cache per query (Should not exceed maximum number of open file descriptors allowed per process) (default 500).--no-filemanager-watch|-Mβ Don't use a file system watcher for filemanager.--no-filemanagerβ Don't scan project directory for files. (rtags-rc -Pwon't work).--no-file-lockβ Disable file locking. Not entirely safe but might improve performance on certain systems.--no-unsuspend-checkβ Don't check after clearing--suspend=all.--pch-enabledβ Enable PCH (experimental).--no-filesystem-watcher|-Bβ Disable file system watching altogether. Reindexing has to be triggered manually.--arg-transform|-V [arg]β Useargto transform arguments.[arg]should be executable with (execv(3)).--no-commentsβ Don't parse/store doxygen comments.--launchdβ Run as a launchd job (use launchd API to retrieve socket opened by launchd on rdm's behalf).--inactivity-timeout [arg]β Time in seconds after whichrtags-rdmwill quit if there's been no activity (N.B., oncertags-rdmhas quit, something will need to re-run it!). π--daemonβ Run as daemon (detach from terminal).--log-file-log-level [arg]β Log level for log file (default iserror), options are:error,warning,debugorverbose-debug.--watch-sources-onlyβ Only watch source files (not dependencies).--debug-locations [arg]β Set debug locations.--validate-file-mapsβ Spend some time validating project data on startup.--tcp-port [arg]β Listen on this tcp socket (default none).--rp-path [arg]β Path torp(default/usr/lib/rtags/rp).--log-timestampβ Add timestamp to logs.--log-flushβ Flush stderr/stdout after each log.--sandbox-root [arg]β Create index using relative paths by strippingdir(enables copying of tag index db files without need to reindex).--poll-timer [arg]β Poll the database of the current project every<arg>seconds.--no-realpathβ Don't userealpath(3)for files--config|-c [arg]β Use this file (instead of~/.rdmrc).--no-rc|-Nβ Don't load any rc files.
π SEE ALSO π
okay that's the whole thing bestie, you're fully briefed π go forth and index. this was rdm version 2.44.135, dated February 2026 β mwah, no notes, periodt. ππ¦β¨
π¦ 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