Skip to content
Eclipse Corrosion - Rust edition in Eclipse IDE
Java Shell Other
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn Update to Tycho 1.6.0 for performance reasons Jan 21, 2020
.settings Corrosion initial contribution to Eclipse.org Mar 20, 2018
documentation Added a changelog with information extracted from version history Jan 16, 2020
images Stripping editor information from SVG logo Mar 3, 2020
launch Update to Tycho 1.6.0 for performance reasons Jan 21, 2020
org.eclipse.corrosion.feature Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
org.eclipse.corrosion.tests Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
org.eclipse.corrosion Issue #299 Defaulting to empty RLS config file path Feb 4, 2020
repository Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
target-platform Issue #301 Preparation for eclipse+installer link. Feb 4, 2020
.gitignore Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
.project Corrosion initial contribution to Eclipse.org Mar 20, 2018
CONTRIBUTING.md
Jenkinsfile Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
LICENSE Corrosion initial contribution to Eclipse.org Mar 20, 2018
NOTICE.md Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
README.md Added SVG logo and 48x48 pixel export Mar 2, 2020
mvnw Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
mvnw.cmd Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
pom.xml Update to Tycho 1.6.0 for performance reasons Jan 21, 2020
update-mvnw Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020
update-mvnw.bat Issue #287 - Introduce Tycho Pomless Build and Maven Wrapper Jan 8, 2020

README.md

logo

Eclipse Corrosion

Rust edition and debug in Eclipse IDE

Corrosion is a Rust development plugin for the Eclipse IDE, providing a rich edition experience through integration with the Rust Language Server and Cargo. Available for download as a complete Eclipse package (See above), full Rust development support is just one click away.

Download/Install

Corrosion

Download The Eclipse IDE for Rust Developers Package. With installation of plugins required, it is the easiest way to start developing Rust projects. Java must be installed to run this IDE

OR

From a working Eclipse IDE, find Eclipse Corrosion on the Eclipse Marketplace (how to install from marketplace)

OR

From a working Eclipse IDE, install from p2 repository http://download.eclipse.org/releases/latest/ (or http://download.eclipse.org/corrosion/snapshots/ for development builds).

Rust Toolchain

To install the Rust toolchain, consider visiting https://rustup.rs/ and install Rustup.
On Linux and MacOS, the toolchain can also be installed via Corrosion in the Rust preference page (Window > Preferences).

When installing Rustup yourself, call the following command before using Corrosion:

rustup component add rls

Features

Corrosion brings together multiple different sources of features to make an enjoyable developing environment. Here are just a few of the most common features. Download today to discover all Corrosion has to offer.

Rust Language Server

The RLS supplies Corrosion with the majority of the edition abilities. More information can be found at the RLS GitHub Repository.

  • Completion Assist
  • Documentation Hover
  • Diagnostics
  • Formatting

RLS features

Debug

Using the rust-gdb, Corrosion enables users to debug their Rust programs with intelligent supports.

  • Variables View
  • GDB Console
  • Breakpoints
  • Expression Execution

Debug features

Cargo and Rustup Integration

Corrosion is built for all Rust developers, newcomers to experts, bringing a GUI to common Cargo features.

  • New Project Wizard
  • Toolchain Management
  • TOML file editing support
  • Export Crate Wizard
  • Rust Language Server Preferences

Cargo and Rustup features

Eclipse Integration

Corrosion fits right into the standard Eclipse workflow welcoming previous Eclipse users

  • Project Outline
  • Dark Theme
  • Problems View
  • Git integration (Only available in Corrosion Package)

Eclipse features

Version History

Please have a look at the Changelog page

Contributing

Corrosion is always open to new features and pull requests. If you have a feature or bug you wish to work on, file an issue and other Corrosion developers will be able to help you get started.

Refer to our Contributing Guide for more instructions.

Concept

Prerequisites

The Rustup and Cargo commands are required for accessing the language server and performing most tasks. Go into the Rust preferences and either install the commands or input their paths if not automatically found.

Project Overview

For the edition, Corrosion uses the lsp4e project to integrate with the Rust Language Server and TM4E project to provide syntax highlighting in order to provide a rich Rust editor in the Eclipse IDE.

Initialization, import and export of projects and execution are provided by integration with cargo command.

Debugging is provided by integration with rust-gdb.

Corrosion was formerly called RedOx, but required a name change due to naming overlap with another project (See issue #24)

License

Corrosion is an open-source project licensed under The Eclipse Public License - v 2.0

The Rust and Cargo logos are owned by Mozilla and distributed under the terms of the Creative Commons Attribution license (CC-BY) (More Info).

More Licensing Information

You can’t perform that action at this time.