/rust-netbeans

NetBeans Rust plugin

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Rust NetBeans Plugin

A NetBeans plugin for Rust.

Linux / OSX Windows
nix Build Status Windows Build status

Requirements

  • NetBeans 8.2.x
  • Java 8+
  • Rust
  • Cargo
  • Rustup

Features

So far, it includes

  • Cargo project support:
    • project view
    • clean/build/run/test from UI
  • Highlighting:
    • syntax highlighting
  • Editing:
    • brace matching
    • comment toggling
  • Navigation:
    • Go To Type
  • Formatting:
    • auto-indentation
    • basic auto-formatting
  • Testing UI:
    • run all tests
    • run module's tests
  • Coming Soon:
    • error/warning highlighting
    • code completion
    • code folding
    • basic file overview
    • basic occurrence matching
    • basic variable renaming

Installing

First, clone and build the plugin.

git clone https://github.com/drrb/rust-netbeans.git
mvn package

You can then install the plugin from NetBeans (the plugin will have been packaged at target/rust-netbeans-1.0.0-SNAPSHOT.nbm).

License

Rust NetBeans Plugin

Copyright (C) 2017 drrb

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.