atom-racer

Intelligent code completion for Rust in the Atom Editor. Requires Racer.

1
0
1
CoffeeScript
public
Forked

Racer

Providing intelligent code completion for Rust via Racer.

A screenshot of racer at work

Installation

  1. Ensure you have Racer properly installed.
  2. Ensure you have a copy of the rustc source code extracted on your disk.
  3. Install this package via Atom’s package manager:
  • go to Preferences > Packages, search for racer, and install it
  • OR use the command line apm install racer).

Configuration

go to Preferences > Packages, search for racer, and click Settings

  • WARNINGS: The path to Racer has to point to the Racer binary executable (this is NOT a directory we request here).
  • The Rustc source has to point to the base directory of the source code.
Display Name Description Required Name
Path to the Racer executable Full path (including executable) of Racer’s binary (e.g. /Users/me/racer/bin/racer or c:\racer\bin\racer.exe) YES racer.racerBinPath
Path to the Rust source code directory Should point to the rustc source directory (e.g. /Users/me/code/rust/src/) YES racer.rustSrcPath
Autocomplete Scope Blacklist Scopes for which no suggestions will be made (e.g. .source.go .comment) NO racer.autocompleteBlacklist

Usage

Just type some code in a .rs file, and racer will automatically show you some suggestions (using the autocomplete+ package provided by Atom).

v0.3.1[beta]