Skip to content

frichez/idea-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https://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

About

Intellij Rust language plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 78.6%
  • Rust 10.9%
  • Lex 9.6%
  • Other 0.9%