rtags: update installation fix key bindings description

This commit is contained in:
Łukasz Pankowski 2019-12-14 16:46:16 +01:00
parent af57d152bd
commit 8411e001bf

30
init.el
View File

@ -420,7 +420,6 @@ of the key binding used to execute this command."
(use-package cmake-ide (use-package cmake-ide
:after cc-mode :after cc-mode
:init
:config :config
(cmake-ide-setup)) (cmake-ide-setup))
@ -440,28 +439,29 @@ of the key binding used to execute this command."
;;; 1. Install [clang](http://clang.llvm.org/) compiler or more accurately ;;; 1. Install [clang](http://clang.llvm.org/) compiler or more accurately
;;; `libclang` library (package `libclang-dev` or may be newer ;;; `libclang` library (package `libclang-dev` or may be newer
;;; `libclang-X.Y-dev` under Debian) which is required by `rtags`. ;;; `libclang-X-dev` under Debian) which is required by `rtags`.
;;; 2. Under Emacs having `rtags` package installed press `M-:` and ;;; 2. Under Emacs having `rtags` package installed press `M-:` and
;;; evaluate expression `(require 'rtags)` and then press `M-x` and ;;; evaluate expression `(require 'rtags)` and then press `M-:` and
;;; run command `rtags-install` (should work if you have ;;; evaluate expression `(rtags-install nil
;;; `llvm-config` in your path) and wait until it compiles to 100%. ;;; '("-DRTAGS_NO_ELISP_FILES=true"))` (should work if you have
;;; The `rtags-install` command needs to be rerun if you install ;;; `llvm-config` or `llvm-config-X` in your `PATH`) and wait until
;;; newer `rtags` from MELPA and the below commands do not work ;;; it compiles to 100%. The `rtags-install` command needs to be
;;; complaining about protocol mismatch. ;;; rerun if you install newer `rtags` from MELPA and the below
;;; commands do not work complaining about protocol mismatch.
;;; 3. Usefull `rtags` functions (use `C-c r C-h` to see these and other key bindings) ;;; 3. Usefull `rtags` functions (use `C-c R C-h` to see these and other key bindings)
;;; | Key | Function ;;; | Key | Function
;;; |-----------|---------- ;;; |-----------|----------
;;; | `C-c r .` | `rtags-find-symbol-at-point` ;;; | `C-c R .` | `rtags-find-symbol-at-point`
;;; | `C-c r [` | `rtags-location-stack-back` ;;; | `C-c R [` | `rtags-location-stack-back`
;;; | `C-c r ,` | `rtags-find-references-at-point` ;;; | `C-c R ,` | `rtags-find-references-at-point`
;;; | `C-c r /` | `rtags-find-all-references-at-point` ;;; | `C-c R /` | `rtags-find-all-references-at-point`
;;; | | `rtags-find-references-current-file` ;;; | | `rtags-find-references-current-file`
;;; | | `rtags-find-references-current-dir` ;;; | | `rtags-find-references-current-dir`
;;; | `C-c r v` | `rtags-find-virtuals-at-point` ;;; | `C-c R v` | `rtags-find-virtuals-at-point`
;;; | `C-c r ;` | `rtags-find-file` (in the current project no metter in which directory) ;;; | `C-c R ;` | `rtags-find-file` (in the current project no metter in which directory)
;;; ### Lisp and Emacs lisp ### ;;; ### Lisp and Emacs lisp ###