News for hackers. Stuff that matters.
Re:Writing Complex Macros in Rust: Reverse Polish Notation by carlmr on Thursday February 01, 2018 @01:52PM (#16284569)
I know you are. I didn't mean to take a jab at you. Rust is amazing for how young the language still is. I also don't have a CLion license, but I've also heard from multiple sources that that is right now the best IDE.

What do you mean by "Native Debug" extension for VSCode? The normal Rust plugin built on top of Racer often shows Racer as crashed, and doesn't underline errors while typing. It also doesn't really seem to know the type of a variable most of the time. I'm writing in too many languages at once. Autocompletion usually gives me enough of a hint that I remember what to type.

VSCode being my favorite editor, so I'm glad that I don't need to install another IDE right now.

EDIT: I just checked it out, and apparently you can install the Rust plugin with IntelliJ Community Edition. Which is free.

Re:Writing Complex Macros in Rust: Reverse Polish Notation by steveklabnik on Thursday February 01, 2018 @02:07PM (#16284747)
It's cool! I didn't take it as a jab :)

I meant this extension: https://marketplace.visualstudio.com/items?itemName=webfreak...

> The normal Rust plugin

Which one are you talking about? There are three of them: one is abandoned.

> you can install the Rust plugin with IntelliJ Community Edition. Which is free.

My understanding is that you can install it, but it does not include debugging support, that's what you have to pay for.

Re:Writing Complex Macros in Rust: Reverse Polish Notation by carlmr on Friday February 02, 2018 @02:24AM (#16289000)
It's just the plugin called Rust. I tried the other ones, but they were not better.

>it does not include debugging support

That's a bit sad, but I haven't had debugging support in VSCode until now. I'd pick good code completion and error hints over debugging. Both would be nice though.

How do you configure that Native Debug plugin for Rust?

Re:Writing Complex Macros in Rust: Reverse Polish Notation by steveklabnik on Friday February 02, 2018 @09:02AM (#16290522)
Gotcha, yeah it's RustyCode that's the outdated one. Rust(rls) is the one provided by the Rust team.

> How do you configure that Native Debug plugin for Rust?

exactly the same way that it says on the page; choose gdb or lldb, change target to point to the executable, and you're good to go.