this post was submitted on 27 Jun 2024
73 points (88.4% liked)

Rust

6041 readers
2 users here now

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

Wormhole

[email protected]

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
 

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
[–] [email protected] 10 points 5 months ago (1 children)

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.

[–] [email protected] 2 points 5 months ago (2 children)

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

[–] [email protected] 4 points 5 months ago (1 children)

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.

[–] [email protected] 2 points 5 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

[–] [email protected] 2 points 5 months ago (2 children)

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

[–] [email protected] 3 points 5 months ago* (last edited 5 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.

[–] [email protected] 2 points 5 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