Skip to content

Commit 2ecb52c

Browse files
igaraymark-i-m
authored andcommitted
Added mention of universal ctags
1 parent b05cfab commit 2ecb52c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/how-to-build-and-run.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,19 @@ in other sections:
300300

301301
### ctags
302302

303-
One of the challenges with rustc is that the RLS can't handle it, since it's a bootstrapping
304-
compiler. This makes code navigation difficult. One solution is to use `ctags`. The following
305-
script can be used to set it up: [https://github.com/nikomatsakis/rust-etags][etags].
303+
One of the challenges with rustc is that the RLS can't handle it, since it's a
304+
bootstrapping compiler. This makes code navigation difficult. One solution is to
305+
use `ctags`.
306306

307-
CTAGS integrates into emacs and vim quite easily. The following can then be
307+
`ctags` has a long history and several variants. Exhuberant CTags seems to be
308+
quite commonly distributed but it does not have out-of-box Rust support. Some
309+
distributions seem to use [Universal Ctags][utags], which is a maintained fork
310+
and does have built-in Rust support.
311+
312+
The following script can be used to set up Exhuberant Ctags:
313+
[https://github.com/nikomatsakis/rust-etags][etags].
314+
315+
`ctags` integrates into emacs and vim quite easily. The following can then be
308316
used to build and generate tags:
309317

310318
```console
@@ -315,6 +323,7 @@ This allows you to do "jump-to-def" with whatever functions were around when
315323
you last built, which is ridiculously useful.
316324

317325
[etags]: https://github.com/nikomatsakis/rust-etags
326+
[utags]: https://github.com/universal-ctags/ctags
318327

319328
### Cleaning out build directories
320329

0 commit comments

Comments
 (0)