File: rtags.README.Debian

package info (click to toggle)
rtags 2.44-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,868 kB
  • sloc: cpp: 54,754; lisp: 5,419; ansic: 1,637; sh: 569; python: 305; objc: 81; makefile: 29
file content (33 lines) | stat: -rw-r--r-- 1,388 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
RTags for Debian
----------------

This package includes the `rc` and `rdm` binaries renamed to
`rtags-rc` and `rtags-rdm` correspondingly to avoid collision with
already existing files from other debian packages.

In order to create a complete index, rtags may need additional include
path to find `stddef.h` or `stdarg.h` or similar files. One way to
achieve that is to install the recommended package `libclang-dev`.
Alternatively you can specify the path to the files in
`$XDG_CONFIG_HOME/rtags/rdmrc` configuration file. For example in case
you have installed package `libgcc-12-dev`, add line

    --include-path /usr/lib/gcc/x86_64-linux-gnu/12/include/

to the `~/.config/rtags/rdmrc` file.

For users of `systemd` service manager, `rtags` package ships
user-mode unit files, where `rdm.service` service is socket activated.
You can check its current status by running the following commands:

    systemctl --user status rtags.socket
    systemctl --user status rtags.service

Emacs with `elpa-rtags` package can automatically start the indexer
process unless the process is already running with the function
`(rtags-start-process-unless-running)` for example added to a hook

    (add-hook 'c-mode-hook 'rtags-start-process-unless-running)
    (add-hook 'c++-mode-hook 'rtags-start-process-unless-running)

To manually start the `rtags-rdm` indexer, run `rtags-rdm` in a shell.