RustAutoComplete
A SublimeText binding for RACER (Rust auto completion tool)
Details
Installs
- Total 33K
- Win 16K
- Mac 8K
- Linux 10K
Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 2 | 2 | 2 | 1 | 0 | 3 | 3 | 1 | 0 | 0 | 0 | 2 | 2 | 1 | 1 | 0 | 0 | 3 | 1 | 2 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 3 | 1 | 2 | 0 | 0 | 0 | 1 | 1 | 2 | 0 | 1 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 1 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 1 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
RustAutoComplete
A binding for Sublime Text to the Rust auto completion tool by Phil Dawes (https://github.com/phildawes/racer).
Features
- Auto complete (invoked automatically on Rust files).
- Go to definition (default key binding is F2).
Status
Initial version. Works on the basic projects I have tested on. Partially works on Servo when the search paths are set correctly.
Pull requests for fixes and new features are very welcome.
I have only tested this on Linux (Ubuntu 14.04). It may work on Mac / Windows.
Requirements
- Install the Rust syntax highlighting package from Package Control: https://sublime.wbond.net/packages/Rust
- Clone and build the auto completion tool racer: https://github.com/phildawes/racer
- Install the package through package control (or clone from git if you prefer): https://sublime.wbond.net/packages/RustAutoComplete
- Configure the plugin to be able to find the racer executable and
Rust source code. Open menu
Preferences -> Package settings -> RustAutoComplete -> Settings - User
and edit the settings file using below as a template:
{
// The full path to the racer binary. If racer is already
// in your system path, then this default will be fine.
"racer": "racer",
// A list of search paths. This should generally just
// be the path to the rust compiler src/ directory.
"search_paths": [
"/home/git/rust-lang/rust/src"
]
}