Live data from Hacker News

IntelliJ Rust

jetbrains.com

11–20 of 63 posts

Re: IntelliJ Rust

#11
post #3

Surely you mean "IntelliJ rs", right? Kidding aside, this is nice! Always happy to see more support for Rust, and I'm usually pretty impressed by what JetBrains brings to the table in their IDEs, so this is promising! Hopefully this will be one of those cases where the less you need an IDE, the more comfortable the features are for the ones that are built.

For anyone reading the comments with the assumption the OP link is just for the longstanding rust plugin, it is. Do not take the comment above to mean a standalone rust IDE, a la Goland, was announced. Hopes lifted, hopes dashed.

They do generally try to keep IDEs focused on a topic, for example how Rider has the role of supporting both Unity (C#) as well as Unreal (C++) projects since the the folks who seem to work closely with Rider seem to be their game development SMEs.

Similarly for Rust, I figure CLion is the best bet?

You would use the LLDB debugger backend similar to your C/C++ projects you would work on with CLion.

Quite a few rust projects do touch or at least reference C projects etc...

Re: IntelliJ Rust

#12

Is there something new here, or is this just a link to the existing Rust plugin, such as I've already been using from CLion for a couple years? (When I first saw the link I was wondering if JetBrains had decided to release a Rust-centric IDE, and was briefly excited (tho I have a CLion license) but seems that's not the case.) FWIW latest changelog on the plugin @ https://intellij-rust.github.io/2023/07/10/changelog-1…

Both IntelliJ Rust and Rust Analyzer (an LSP server for Vim, VSCode, and other editors) teams publish their changelings weekly on Monday. Often the two blog posts get linked on /r/rust right next to each other. It's always heartwarming seeing users of both coming over to these threads and thanking the maintainers.

Re: IntelliJ Rust

#15
post #2

When I used this plugin in CLion to work on Rust projects it felt very sluggish to me (I had to re-execute Cargo commands to get it to pick up on new files etc., and autocomplete basically didn't work). Has this been fixed, or was it some error on my end?

There's a project setting for running linting tools on the fly rather than when invoking actions. These will do stuff like lint and refresh stuff as you type, but it adds latency and other weird jitters if the tools take longer than expected to finish execution. This is indicated next to the checkbox that enables the setting. I usually turn the setting on, but there are a few projects that do make the UI sluggish whe…

Interesting. I just updated CLion and I got a notification that "Cargo Check on the fly analysis is turned OFF". So the setting is in Languages & Frameworks > Rust > External Linters.

Re: IntelliJ Rust

#17

Serious question: why would I use this over VS Code + the Rust Analyzer extension?

Same reason you'd use any other IntelliJ IDE: Most things just work out of the box without having to install and configure dozens of plugins.

Admittedly, for Rust the gap isn't as big as with other languages, as RA is an excellent language server, but with CLion + Rust you get pretty great debugging support.

Re: IntelliJ Rust

#18

Serious question: why would I use this over VS Code + the Rust Analyzer extension?

Overall, I’ve found JetBrains IDEs to be “nicer” than VS Code.

There’s a level of polish and thoughtfulness in the design that I’ve not found in VS Code.

It’s hard to put into words, because it consists of lots of little things.

Definitely not perfect though. Just better IMO.

Re: IntelliJ Rust

#19

Earlier quoted context omitted.

For anyone reading the comments with the assumption the OP link is just for the longstanding rust plugin, it is. Do not take the comment above to mean a standalone rust IDE, a la Goland, was announced. Hopes lifted, hopes dashed.

They do generally try to keep IDEs focused on a topic, for example how Rider has the role of supporting both Unity (C#) as well as Unreal (C++) projects since the the folks who seem to work closely with Rider seem to be their game development SMEs. Similarly for Rust, I figure CLion is the best bet? You would use the LLDB debugger backend similar to your C/C++ projects you would work on with CLion. Quite a few rust p…

> Similarly for Rust, I figure CLion is the best bet?

Yeah. IntelliJ Ultimate is also decent with Rust, but debugging & profiling support is better with CLion.

Re: IntelliJ Rust

#20

Serious question: why would I use this over VS Code + the Rust Analyzer extension?

Overall, I’ve found JetBrains IDEs to be “nicer” than VS Code. There’s a level of polish and thoughtfulness in the design that I’ve not found in VS Code. It’s hard to put into words, because it consists of lots of little things. Definitely not perfect though. Just better IMO.

In general, I agree. VS Code has always come across as an unhappy middle ground in my personal opinion.

I usually just think: go full power user (Vim/Neovim/Emacs) or completely ready-to-go (Jetbrains). But I just have never felt like VS Code was very great, so I'm certainly biased.

Post reply on HN