a rust code completion plugin for gedit
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screenshots
.gitignore Initial commit Mar 17, 2016
LICENSE
README.md Update README.md Apr 29, 2017
gracer.plugin move /src contents to root dir Mar 29, 2016
gracer.py

README.md

Gracer

A rust code completion plugin for gedit. Built with the Rust auto completion tool by Phil Dawes (https://github.com/phildawes/racer).

Example

Current Features:

  • Autocompletion
  • Find Definition (with right-click menu)

Prerequisites

  • racer should already be installed. If you did not installed it until now run:

$ cargo install racer

  • a copy of the rust source should be on your system. If you did not download the rust source so far run:

$ rustup component add rust-src

for other installation methods please refer to: https://github.com/phildawes/racer/blob/master/README.md

Using

  • Download the project.
  • Extract the files to /home/YOUR_USER_NAME/.local/share/gedit/plugins
  • If the directory .local/share/gedit/plugins/ is not present, create it.
  • Open gedit, go to Preferences > Plugins > Gracer to activate it.
  • From plugins menu, open Gracer's Preferences.
  • Set Racer path and Rust source path.
  • Restart gedit.

Instead of downloading you can just clone the project to your plugin path:

$ mkdir -p ~/.local/share/gedit/plugins
$ cd ~/.local/share/gedit/plugins
$ git clone https://github.com/isamert/gracer.git

For updating:

$ cd ~/.local/share/gedit/plugins/gracer
$ git pull