RDM(7)
πΈ NAME πΈ
okay so welcome to RDM(7), the User Commands manual page for rdm, bestie π
rdm β manual page for rdm 2.38.130.
β¨ SYNOPSIS β¨
rdm [OPTION]...
π DESCRIPTION π
RTags is a client/server application that indexes C/C++ code and keeps a persistent file-based database of references, declarations, definitions, symbolnames etc. There's also limited support for ObjC/ObjC++. It lets you find symbols by name (including nested class and namespace scope). Most importantly, it gives you proper follow-symbol and find-references support. There are also neat little things like rename-symbol and integration with clang's "fixits" (http://clang.llvm.org/diagnostics.html). It also integrates with flymake using clang's vastly superior errors and warnings. Since RTags constantly reindexes "dirty" files, you get live updates of compiler errors and warnings. And since it already knows how to compile your sources, there's a way to quickly bring up the preprocessed output of the current source file in a buffer. π¦
Existing taggers like gnu global, cscope, etags, ctags etc do a decent job for C, but 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 π
okay bestie, here's the whole flag menu β every single one, no skipping π
--help|-hβ Display this page.--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.--verbose|-vβ Change verbosity, multiple-v's are allowed.--job-count|-j [arg]β Spawn this many concurrent processes for indexing.--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. π§Ή--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 from rdm, default"*/CMakeFiles/*;*/cmake*/Modules/*;*/conftest.c*;/tmp/*;/private/tmp/*;/private/var/*".--socket-file|-n [arg]β Use this file for the server socket (default~/.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 for printf and friends.--error-limit|-f [arg]β Set error limit to argument (-ferror-limit={arg}(default50).--block-argument|-G [arg]β Block this argument from being passed to clang. E.g.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.--allow-multiple-sources|-mβ Don't merge source files added with-c.--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.--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 (0means no timeout) (default60000).--rp-indexer-message-timeout|-T [arg]β Timeout forrp indexer-messagein ms (0means no timeout) (default60000).--rp-connect-timeout|-O [arg]β Timeout for connection fromrptordmin ms (0means no timeout) (default0).--rp-connect-attempts [arg]β Number of timesrpattempts to connect tordmbefore giving up. (default3).--rp-nice-value|-a [arg]β Nice value to use forrp(nice(2)) (default is no nicing).--suspend-rp-on-crash|-qβ SuspendrpinSIGSEGVhandler (default off).--rp-log-to-syslogβ Makerplog to syslog.--start-suspended|-Qβ Start out suspended (no reindexing enabled).--separate-debug-and-release|-Eβ Normallyrdmdoesn't consider release and debug as different builds. Pass this if you want it to.--separate-32-bit-and-64-bitβ Normallyrdmdoesn'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 (default5).--max-socket-write-buffer-size [arg]β Max number of bytes buffered afterEAGAIN.--completion-cache-size|-i [arg]β Number of translation units to cache (default10).--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 lasttu. Default to1.--max-include-completion-depth [arg]β Max recursion depth for header completion (default3).--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.--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) (default500).--no-filemanager-watch|-Mβ Don't use a file system watcher for filemanager.--no-filemanagerβ Don't scan project directory for files. (rc -Pwon't work).--no-file-lockβ Disable file locking. Not entirely safe but might improve performance on certain systems. β οΈ--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.--inactivity-timeout [arg]β Time in seconds after whichrdmwill quit if there's been no activity (N.B., oncerdmhas 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 is error), 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.--log-timestampβ Add timestamp to logs.--log-flushβ Flush stderr/stdout after each log.--sandbox-root [arg]β Create index using relative paths by stripping dir (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 π¦
rc(7) β go check it out, bestie π«Ά
Later bestie π
β¨ β this was RDM(7) for rdm 2.38.130, dated January 2020.
π¦ where this page comes from
- opensuse-leap 16.0: rtags 2.38-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rtags 2.38-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rtags 2.38-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rtags 2.38-bp160.1.13 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms