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.

ความคิดเห็น • 16

  • @skytech2501
    @skytech2501 10 หลายเดือนก่อน +9

    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

  • @xXHelsingGamingXx
    @xXHelsingGamingXx 9 หลายเดือนก่อน

    Thank you so much I was looking for a awesome course like this!

  • @MrHandsy
    @MrHandsy 10 หลายเดือนก่อน +6

    It takes 10+ minutes for rust rover to enable even basic syntax highlighting or even writing (without 200ms+ delay)

    • @martinsouto8818
      @martinsouto8818 10 หลายเดือนก่อน

      it is pretty slow even on modern hardware indeed

    • @mikkelens
      @mikkelens 10 หลายเดือนก่อน +1

      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)?

    • @ononaokisama
      @ononaokisama 9 หลายเดือนก่อน

      @@mikkelenshaven’t used rust rover yet. just rust-analyzer with vscode. But for me vscode is really quick editing rust

  • @minatonamikaze2637
    @minatonamikaze2637 10 หลายเดือนก่อน +11

    I use helix btw

    • @brutetriple8637
      @brutetriple8637 10 หลายเดือนก่อน +2

      team helix ftw!

    • @mikkelens
      @mikkelens 10 หลายเดือนก่อน

      I really want to use helix, but no plugins system at all is kind of a deal-breaker :(

  • @huihuihuihuihuihui1
    @huihuihuihuihuihui1 7 หลายเดือนก่อน

    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

  • @cthutu
    @cthutu 10 หลายเดือนก่อน +1

    Nobody's done a Nixos package for it yet :(

  • @michaellatta
    @michaellatta 9 หลายเดือนก่อน

    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.

    • @LtdJorge
      @LtdJorge 8 หลายเดือนก่อน

      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.

  • @if_it_pleases_the_council
    @if_it_pleases_the_council 10 หลายเดือนก่อน

    Does if have a option for Vim commands?

    • @doudeman
      @doudeman 10 หลายเดือนก่อน +4

      All JetBrains editors have the IdeaVim plugin.

    • @mikkelens
      @mikkelens 10 หลายเดือนก่อน +1

      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.