Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Intellij Rust language plugin
Java Rust XML Other
branch: master

Merge pull request #39 from Vektah/add-cargo-config

Add new Config dialog and allow setting cargo path
latest commit 270777f3c6
Vektah authored

README.md

idea-rust Build Status

Language support for the Rust Language

PLEASE NOTE: This does not yet do any auto completion. It is JUST the lexer and highlighting for .rs files.

The rest is coming soon!

Plugin page

http://plugins.jetbrains.com/plugin/7438

Development

Prerequisites

If you want to live on the bleeding edge (or help out!) you will need:

  • Intellij 13.1.5
  • Gradle

Building

  • Add a gradle.properties file to the root directory of the project, with the following properties

    • libraries_intellij : the root directory of your intelliJ installation
    • rust_source : the root directory of the rust project (required to run tests)

    For example

    libraries_intellij=C:\\dev\\bin\\intellij-13.1.5\\
    rust_source=C:\\dev\\projects\\rust\\src\\
    
  • Run gradle grammar to generate the grammar and lexer.
  • Run gradle runIdea or gradle debugIdea to start the plugin. Please note that $JAVA_HOME has to be set and point to a valid jdk otherwise idea will be unable to find tools.jar.

Contributing

We use the following IntelliJ plugins to develop this plugin:

  • Plugin Devkit
  • Grammar-Kit
  • JFlex Support
  • Gradle plugin
Something went wrong with that request. Please try again.