File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -300,11 +300,19 @@ in other sections:
300
300
301
301
### ctags
302
302
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 ` .
306
306
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
308
316
used to build and generate tags:
309
317
310
318
``` console
@@ -315,6 +323,7 @@ This allows you to do "jump-to-def" with whatever functions were around when
315
323
you last built, which is ridiculously useful.
316
324
317
325
[ etags ] : https://github.com/nikomatsakis/rust-etags
326
+ [ utags ] : https://github.com/universal-ctags/ctags
318
327
319
328
### Cleaning out build directories
320
329
You can’t perform that action at this time.
0 commit comments