News for hackers. Stuff that matters.
Re:Announcing Rust 1.7 by SneakerXZ on Thursday March 03, 2016 @05:08PM (#11220442)
I have followed https://areweideyet.com/ and picked Atom and it is far from what I would like.

I will try to give another chance to Rust in half year and see if it improved.

But I would suggest to look at Swift SourceKit https://github.com/apple/swift/tree/master/tools/SourceKit or OmniSharp http://www.omnisharp.net/ SourceKit provides really nice Swift support in Xcode. If you can deliver same thing built on top of VSCode, Intellij IDEA with integrated debugger, I am sold.

Re:Announcing Rust 1.7 by jhasse on Thursday March 03, 2016 @06:50PM (#11220976)
What was missing for you in Atom?
Re:Announcing Rust 1.7 by SneakerXZ on Friday March 04, 2016 @08:23AM (#11223532)
I would like to see:

- Be able to see inferred type

- Be able to see documentation for types and methods

- Better auto completion was sometimes suggesting non senses and after selecting it placed a cursor on wrong place

- Integrated debugger

- Go to definition (including Rust std)

- Syntax checking

- Integrated formatter

Re:Announcing Rust 1.7 by jhasse on Friday March 04, 2016 @09:53AM (#11224062)
The last three points on your list work in Atom :)

> - Be able to see inferred type

https://github.com/phildawes/racer/issues/304

> - Be able to see documentation for types and methods

https://github.com/phildawes/racer/issues/415

> - Better auto completion was sometimes suggesting non senses and after selecting it placed a cursor on wrong place

Seems like a bug, never experienced this myself though.

> - Integrated debugger

I'm currently using nemiver and atom-gdb to set breakpoints from within Atom and launch nemiver. But you're right: A great integrated debugger would be awesome :)

> - Go to definition (including Rust std)

This works with atom-racer: Ctrl+Shift+P and type "racer find definition"

> - Syntax checking

https://atom.io/packages/linter-rust

> - Integrated formatter

https://github.com/rust-lang-nursery/rustfmt/blob/master/ato...

Re:Announcing Rust 1.7 by SneakerXZ on Friday March 04, 2016 @11:49AM (#11224967)
Thanks for the reply!

> This works with atom-racer: Ctrl+Shift+P and type "racer find definition"

Nice, unfortunately it works only for my methods and not for std.

> - Syntax checking

Oh, you right, I got wrong path to Cargo so it didn't work out of box but still it is not like you have it in IDE and you don't see errors as you type but you need to save.

> - Integrated formatter

Cool, thanks!

Re:Announcing Rust 1.7 by jhasse on Friday March 04, 2016 @05:41PM (#11227346)
> Nice, unfortunately it works only for my methods and not for std.

That's strange. It works for me for std, too. Have you set RUST_SRC_PATH?