RustDT 0.1.0 released: a new Eclipse Rust IDE


#1

Hello. I want to announce the first release of RustDT (http://rustdt.github.io/), an Eclipse based IDE for the Rust language:

This IDE builds on the experience gained working on the DDT and Goclipse IDEs.
I’m still a newbie to Rust, so I’m hoping to improve RustDT as I learn more about Rust. Feedback and contributions welcome.

In related discussion, is there any command-line autocompletion tools for Rust, or any plans to develop one in the future? Something in the lines of gocode (https://github.com/nsf/gocode), go oracle (http://golang.org/s/oracle-user-manual), or DCD (https://github.com/Hackerpilot/DCD). I would be happy to integrate such a tool with RustDT.


Category suggestions
#2

Racer does this today, and we might add compiler support to help write this kind of tooling in the future.


#3

Autoformatting along the lines of gofmt would be a boon.


#4

@bruno_medeiros: Woot! Nice one. I hope you get auto-formatting and auto-complete set up :smile:


#5

This is a tool everyone wants, but nobody has stepped up to make yet.


#6

pcwalton started rustfmt a while ago.


#7

Very cool!

Be sure to make GDB use the Rust pretty printers coming with every Rust installation. You can use the rust-gdb script as a reference. Don’t hesitate to contact me if you have any questions regarding this topic.


#8

Thanks for the info, I’ll need to try out the whole debugging thing in more depth. In the meanwhile I’ve added that to a ticket: https://github.com/RustDT/RustDT/issues/6


#9

Check out srclib - getting rust AST data into the srclib format would mean some basic support in a variety of editors immediately.

I’m also working lang-agnositc documentation generation tools based on srclib.

https://srclib.org/


#10

Sounds like a tool following the guide at https://github.com/nrc/stupid-stats/blob/master/README.md that outputs the srclib format would be a valuable addition to the ecosystem.


#11

It’s true that he did, but it’s badly bitrotted.


#12

Looks interesting, having AST data would allow the editor/IDE to have some basic syntax navigation features - outline, code folding. I’m saving this to look it up later when I have the time.


#13

Eclipse doesn’t work with lldb…what a bummer… :frowning:


#14

Dear Bruno,

Good one!!! I am practicing samples with this one and it works like breeze!

Thank you so much and enjoy.


#15

BTW, I wanted to fix https://github.com/RustDT/RustDT/issues/2 plus have a better look at the editor syntax highlighting real soon, but I just got into holidays this week, so it will have to wait…


#16

@bruno_medeiros: Is a Heap Memory Allocation Inspection View planned in addition to the Stack Memory Allocation Inspection View (that is currently available as a debugging feature in RustDT)?


#17

I’m not very familiar with more complex debugging features, but isn’t that what the Memory view in Eclipse does?


#18

New release, minor improvements and fixes:


#19

RustDT is awesome - thanks :smile: . Really looking forward to the racer integration when it’s released.


#20

LLDB has something called the LLDB-MI , which emulates the GDB Machine Interface (the interface used by Eclipse CDT and other graphical frontends to control GDB), and as such is meant to allow LLDB to be used by Eclipse:
https://www.codeplay.com/portal/lldb-mi-driver---part-1-introduction
I haven’t been able to try it myself since there are no binary packages, one has to build LLDB-MI themselves, and my quick attempt to do so didn’t work…