forked from servo/servo
-
Notifications
You must be signed in to change notification settings - Fork 0
Tools
Pradeep Kumar edited this page Dec 16, 2013
·
8 revisions
Useful tools and tricks for contributing to Servo:
Mozilla Cross-Reference (MXR) - source code index, updated daily. Add a Firefox search keyword to use it more efficiently (for example, sxr ScriptTask
for text search, sxrf file_loader.rs
for filename).
Assuming you are in the root directory of the Servo project,
RUST_SRC=./src/compiler/rust/src
ctags-exuberant -e -f TAGS.emacs --languages=rust --options=$RUST_SRC/etc/ctags.rust -R src
will build the tags table in TAGS.emacs (takes around 3s)
You can then jump to the definition of any function or struct or enum by using M-.
(Alt + .
)
See the Emacs support page on the Rust wiki