This repository was archived by the owner on Apr 3, 2018. It is now read-only.
Releases: RustDT/RustDT
Releases · RustDT/RustDT
0.8.0
- Added support for Cargo's JSON output, with
--message-format=json. (#138) - Invoking a build operation for a project now immediately cancels the pending build operation for that project, if any.
- (this greatly improves user experience)
- Added syntax coloring support for
?operator, andmacro_rules!. - More lenient with
rustfmtexit code 3, don't treat those warnings as a failure. (#144) - Build target
checknow defaults tocargo check --message-format=json.- Note: As of the time of this release,
cargo checkonly available in nightly Rust.
- Note: As of the time of this release,
- Added: Cargo
cleanBuild Target. - Fixed: "Member
def_site_spanis not an Object" error. (#146) - Fixed: Creating an Eclipse project (with "Use
cargo init" disabled) in a location with an existing crate no longer creates a Hello Worldsrc/main.rs.
0.7.0
- Added support for Rust 1.12 new error message format. (#130)
- Please upgrade to Rust 1.12 or later because the previous Rust toolchain versions are no longer supported in RustDT.
- (Thanks to https://github.com/PieterPenninckx for the contribution)
- Note: be aware of this Cargo issue which might sometimes prevent errors to be parsed by RustDT. This will be addressed in a future RustDT release (see #138)
- Improved syntax highlighting for macro invocations (
foo!=barno longer highlightsfoo!as a macro) - Added more extensive
doccode snippet. - Added
matchResandmatchOptcode snippets. - Default setting for "auto-insert" of Code Snippets is now false.
- Added
--forceto Cargo tool "Download" button in toolchain preferences page. - Fixed: finding Build Target executables for crates that have a dash ('-') in the name. (the dash is converted to an underscore).
- Fixed stale validation message for location field in New Project Wizard.
- Fixed stale validation message for Build Command field in Build Targets property page and Launch Configurations dialog.
- Fixed editor NPE when opening files from a non-workspace VCS revision.
- Fixed: "IllegalStateException: Invalid table definition" during Cargo manifest parsing. (#129)
0.6.2
- Updated minimum CDT to version
9.0(Eclipse Neon). - Added: validation of crate name for Rust Project Wizard. (#119)
- Removed preference "Show error dialog if Racer failures occur" as it's no longer necessary.
- Content Assist will now distinguish between setup errors (errors that the user can fix, which are related to configuration and not the source) and other tool errors. For setup errors, a dialog will always be shown. For the other errors, if Content Assist was invoked manually, a dialog will also be shown, but if it was activated automatically the error will only be displayed in the editor status line.
- Fixed: Eclipse variables not being substituted in environment-variables settings of launch configurations.
- Fixed: NPE when invoking Content Assist inside a comment, string or character.
0.6.1
- Improved the default names for automatically created launch configuration.
- Added error display notification for Outline operation failures.
- Fixed: Progress dialog never showing up when "Ok" pressed in LANG_NAME project properties page.
- Fixed: Eclipse variables not being substituted in environment-variable values.
- Fixed regression: Cargo not able to find rustc. (#113)
0.6.0
- Added customization of the build command for Build Targets: It's now possible to specify a command other than the default one (the Cargo tool).
- Note however that RustDT still expects the command output (the compiler error messages) to be in the same format as the default tool.
- Added support for invoking a specific Build Target when a Rust editor is saved. This is called "auto-check", and is intended for build commands that only check for compilation errors, but don't produce artifacts. This has the potential to be faster than a regular build.
- Default is
rustc --lib -- -Zno-trans. - The goal for the future is to enable invoking this command on-the-fly (as the user types), although for this to be useful in practice it will likely require the compiler to support incremental compilation (or be super fast otherwise).
- Added Building section to documentation.
- Default is
- Added support for modifying the environment variables of a Build Target's build command. (#72)
- RustDT no longer needs to save the editor before invoking Racer.
- New Cargo project can now initialize project using
cargo init. (#106) - Added some new code snippets:
enum,atandaq,if,ifl,whl,fn,fnr,test,macro. (#109)
- Fixed "IllegalStateException: The service has been unregistered" on Mars.2 when Eclipse is closed.
- Fixed: Running Targets from "crate#tests" failed in OS X due to ".dSYM" dir. (#96)
- Fixed: Format tool (
rustfmt) is invoked when an editor is saved automatically due to code completion. (#101) - Fixed: Pressing Tab key does not indent according to Editor indentation preferences. (#99)
- Fixed: syntax highlighting for the character literal
'\"'.
0.5.1
- Added support for source formatting using
rustfmt(Ctrl+Shift+F).- Added
Format Crate (cargo fmt)command to Project context menu. - Added "Format automatically on editor save." option.
- Added
- Added signing to releases.
- Fixed incorrect icon for errors and warnings in preference page status.
- Fixed: can't save preference pages with empty fields.
- Fixed: Preferences "Download..." button not working in Windows if HOME env-var not set (now uses
%UserProfile%instead).- Also, "Download..." button now tries to download to the existing location in the preferences field, if it's a valid one.
- Fixed: debugging won't find the Rust installation sources (the standard library), if the configured
srcpath is any other than$SDK_PATH/src.
0.5.0
- Added support for Outline, Quick-Outline, and on-the-fly parser errors, using the Rainicorn tool.
- Added download operation to the Racer preferences (uses
cargo install), as well as to the Rainicorn preferences. - Added "match", "matchb", "apl", and "main" code snippets.
- Added: The title of a Rust editor for "mod.rs" files is now "[foo]", where foo is the name of the parent directory (this should be the same as the module name). The objective is obviously to disambiguate editors when you have several "mod.rs" files open.
- Fixed: Dirty editors are now automatically saved if a build is invoked directly from a Build Target in the Project Explorer. (if the workspace "Save automatically before build" option is enabled).
- Fixed workspace resource locking when a build is invoked directly from a Build Target in the Project Explorer.
- Fixed regression: Console view always activates when a build is invoked.
- Fixed bug with Content Assist snippets using the
${word_selection}variable.
0.4.2
- Fixed: In debug, value of some variables not displayed due to "N/A (child of pretty printed object)" error.
0.4.1
Debugging:
- The source lookup path for the Rust standard library modules is now configured properly.
- Fixed toggling breakpoints on and off for files that are outside the workspace.
- Fixed opening source files that are are outside the workspace.
- On Windows, the Rust GDB pretty printers are automatically configured when debugging, if they are found in
${RUST_ROOT}/bin/rustlib/etc/.- Updated the documentation for the above changes.
- Minimum and recommended CDT version is now
8.8.
Other changes:
- Pressing F2 in the editor now shows information popup for the problem under the cursor (same popup as the mouse-over hover).
- Project builder is no longer invoked when the workspace "Build Automatically" setting is enabled and a file is saved. (this was considered a misfeature anyways)
- After building, Cargo.toml syntax errors are now also displayed inside the editor.
- Improvement to Auto-Indent when Enter pressed before a closing brace. (Fixes #76)
- Added Racer preference to enable/disable showing the error dialog if failures occur during Content Assist. (#74)
- Fixed: Project Build Targets settings page shows wrong default for Program Path field.
- Fixed: Editor syntax highlighting of raw strings.
- Fixed: Breakpoint icon alignment and transparency.
0.4.0
- Added support for Eclipse dark theme. Namely:
- Syntax/source coloring now have different settings for dark theme.
- Fixed Tools Console colors, as well as content assist pop-up colors.
- Added number literals source highlighting. (#55)
- Added macro invocation source highlighting.
- Syntax highlighting now works on the source compare editor/viewer.
- Added per-project Rust Installation preferences. (fixes #63)
- Added Content Assist support of name-only proposal insertion by pressing
Ctrl+Enter. (only applicable to proposals that insert arguments) - Changed: newly created launch configurations now have the debug option "Stop on startup at:" set to false by default. This way debugging won't stop on the C
main, which is essentially useless outside of C/C++. - Added:
cargo updateaction to Project explorer context menu. (#17)
- Fixed: Properly implemented editor highlighting of Rust attributes with strings in them. (#24)
- Fixed: AssertionFailureException pressing Enter after source with more closing braces than opening ones.
- Fixed: Unindent (Shift-Tab) broken, does nothing after empty lines in selection.
- Fixed "Unknown line format: " when invoking autocompletion with racer. (#68)