Gracer Save

a rust code completion plugin for gedit

Project README

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
Open Source Agenda is not affiliated with "Gracer" Project. README Source: isamert/gracer
Stars
35
Open Issues
3
Last Commit
1 year ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating