Code in Rust with RustRover, by Vitaly Bragilevsky - Rust Linz November 2023
ฝัง
- เผยแพร่เมื่อ 4 ต.ค. 2024
- RustRover is a Rust IDE recently launched by JetBrains. RustRover implements out-of-the-box experience and provides a lot of functionality for Rust developers. In this talk, I'll overview the most useful as well as lesser-known RustRover features and show how to use them effectively to get your job done. Among other things, I'll dive into the RustRover debugger and prove that it's time to abandon the general practice to print things out while debugging your code!
ℹ️ About Vitaly Bragilevsky
I'm a developer advocate at JetBrains. I taught more than a dozen programming languages and other Computer Science topics at universities for more than 20 years. I authored "Haskell in Depth", published by Manning Publications in 2021.
I've been using RustRover for a month, really good! I would absolutely recommend to anyone 😊
It still has some issues like the linting is not working for the library module if it's in the same workspace with another main module
Thank you so much I was looking for a awesome course like this!
It takes 10+ minutes for rust rover to enable even basic syntax highlighting or even writing (without 200ms+ delay)
it is pretty slow even on modern hardware indeed
It's not as fast as using vim or whatever, but my experience has been that it is on par with vscode with similar extensions, not that slow?
You may be missing some optimized configuration (perhaps Windows Defender is blocking the IDE)?
@@mikkelenshaven’t used rust rover yet. just rust-analyzer with vscode. But for me vscode is really quick editing rust
I use helix btw
team helix ftw!
I really want to use helix, but no plugins system at all is kind of a deal-breaker :(
The regex should be created once before loop and not inside the loop. Otherwise, the regex gets compiled for every line and it slows down the program
Nobody's done a Nixos package for it yet :(
Unfortunately the assumption that the goal is the least amount of typing is not a good fit when the developer is a touch typist at 90+ words per minute. The refactoring if it keeps the lifespan and accesses correct is far more useful.
Are you talking about completions? Those also benefit very fast typists, and help visualizing signatures and types, which in a language as strongly typed as Rust is very important.
Does if have a option for Vim commands?
All JetBrains editors have the IdeaVim plugin.
Yes, nearly all Jetbrains IDE extensions work in RustRover as well, including IDEAVim which is a (near?)official extension that adds Vim motions etc. to the IDE.
I use it a lot and it feels more native than stuff like Vim for VSCode if you've used that.