74

Rust Rover is out of preview and is free for non-commercial use. The only caveat is:

It’s also important to note that if you’re using a non-commercial license, you cannot opt out of the collection of anonymous usage statistics.

you are viewing a single comment's thread
view the rest of the comments
[-] onlinepersona@programming.dev 13 points 4 months ago

From what I gather, this isn't opensource, which is a pity. JetBrains makes the best IDEs out there for me. Anytime I touch something else, I feel hampered. Everything else just seems to take too much setup no matter how much time I put into it (looking at you neovim).

Developing Rust in CLion has been a charm so far, but let's wait until v2 of RustRover before switching over...

Anti Commercial-AI license

[-] mholiv@lemmy.world 10 points 4 months ago

I know exactly how you feel. I did eventually end up finding an open source solution that worked for me though. After trying a few things I ended up on the helix text editor + the Rust LSP.

It took me a while to get to the point where I could code as fast as I could in Jetbrains IDEs but I got there and am now even faster than I used to be.

It was hard but very worth it.

[-] onlinepersona@programming.dev 2 points 4 months ago

I've read about Helix and it seems less effort than vim or its evil twin (emacs). How long did it take for you to get productive?

Anti Commercial-AI license

[-] mholiv@lemmy.world 4 points 4 months ago

To get to the point where I could feel like not an idiot maybe 3 hours of actual programming time.

To get to the point where I was a slow yet productive programmer it took maybe 12 hours of actual programming time.

To get faster than I was at Jetbrains IDEs that took like maybe ~24 hours of actual programming time.

I strongly recommend:

  1. remapping caps lock to escape.
  2. disabling the arrow keys in all modes.

After I did these two things, I got better faster. It’s frustrating but totally worth it. Now when I’m on my laptop I just use helix and qutebrowser under the sway desktop environment. It’s a 100% mouse free experience and it’s just faster and better in every way.

[-] onlinepersona@programming.dev 2 points 4 months ago

Thanks for the tips. I'll give Helix a shot. I've been trying to get rid of vim and now neovim for a while. Maybe helix will be the solution.

Anti Commercial-AI license

[-] decivex@yiffit.net 2 points 4 months ago

In what way is it less effort than vim? I've tried helix a little bit and it didn't seem that different.

[-] mholiv@lemmy.world 3 points 4 months ago* (last edited 4 months ago)

For me it’s less effort because everything that I want just works out of the box. The totally of my configuration is under 10 lines. I don’t want to have to mess with nested config files each dozens to hundred of lines long most of which I will not understand just to code.

Also helix is different in that it uses the selection then action workflow. Vim is action then selection which is less nice for me.

In helix if I want to delete a function I would do: ESC -> space -> f -> d

Which means: Normal mode then lsp menu then next function then delete.

In vim I would have to delete then select what to delete which I don’t like.

[-] onlinepersona@programming.dev 2 points 4 months ago

I'm hoping it'll be less effort setting it up than vim/neovim. Both need a bunch of plugins to be worth using. I got some preconfigured neovim config (doomvim or something) and while it's better, a bunch of stuff just doesn't work.

Anti Commercial-AI license

[-] seeg@toot.whatever.cz 1 points 4 months ago

@onlinepersona @deluxeparrot Last time I checked, jetbrains editors didn't support nix well. Has that changed?

[-] onlinepersona@programming.dev 1 points 4 months ago

To my knowledge there's still only nix-idea, but tbh I haven't found any good IDE or editor for nix. Syntax highlighting is easy, but advanced features like code suggestion, "GOTO definition", and so on have never worked for me 🤷 Does good nix support exist anywhere?

Anti Commercial-AI license

[-] sukhmel@programming.dev 2 points 4 months ago

Same, and it looks like nix is not going to get a good support soon, because it's at the same time not widespread enough and has a complicated semantic. Well at least complicated enough for me as a dev that uses it but still struggles a lot to debug issues.

[-] seeg@toot.whatever.cz 1 points 4 months ago

@onlinepersona #nix works very nice as a systems package manager. I use it to pull in C libs or build my own, without polluting my base system. And it's much more lightweight than VM or even docker, especially flakes that I discovered recently.

[-] voidcontext@hachyderm.io 1 points 4 months ago

@onlinepersona https://github.com/oxalica/nil might worth a try. It’s implementing the language server protocol so it can be used with any editor/IDE that has support. I am sure intellij has a plugin for that.

[-] OhYeah@lemmy.dbzer0.com 1 points 4 months ago

I've been building out a neovim setup with the nixvim project, in the mean time been using vscodium with no complaints would recommend both options

this post was submitted on 27 Jun 2024
74 points (88.5% liked)

Rust

5960 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS