Skip to content
Matt Brubeck edited this page Sep 28, 2016 · 9 revisions

Useful tools and tricks for contributing to Servo:

To search the source without leaving your browser

DXR - source code index, updated regularly. Add a Firefox search keyword to use it more efficiently (for example, sxr ScriptTask for text search, sxrf file_loader.rs for filename).

To create Tags table for Emacs

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 + .)

More good stuff

See the Emacs support page on the Rust wiki

Clone this wiki locally