this post was submitted on 08 Jun 2023
42 points (100.0% liked)

Programming

3347 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
all 47 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago (1 children)

I love using helix. Not really an IDE, but since it has built-in support for language servers like rust-analyzer, it can do everything I need.

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

I'm just waiting for the inbuilt file explorer to stabilise. The only thing I miss is easy file navigation. The fuzzy searcher just isn't what I want most of the time.

[–] [email protected] 1 points 1 year ago

I see. I used to use things like nerdtree in vim, but when switching to helix I just accepted the fuzzy file search, and now I don't see why I would ever need anything else to open files.

[–] [email protected] 12 points 1 year ago (1 children)

I am not a hardcore programmer, but anytime I code anything, I use vscodium. It is VScode without the microsoft telemetry.

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

That sounds great! Does it support the plugins as well?

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

It has the same plugin system, but they pull from Open VSX rather than Microsoft's extension marketplace. If there's an extension not available there, you can still download it from Microsoft's marketplace and then add it manually.

[–] [email protected] 3 points 1 year ago (1 children)

It's also possible to swap out the extension registry entirely and still use Microsoft's marketplace instead of Open VSX in VSCodium.

[–] onewhobrowses 1 points 1 year ago

I figured this was possible, but I guess I never searched for the solution. Thank you!

[–] [email protected] 10 points 1 year ago

VsCode because I'm basic like that :^)

[–] [email protected] 10 points 1 year ago (2 children)

No one has said Emacs yet, I was a long time vim/neovim user but switched a couple of years ago, still learning rust but it's been pretty comfy so far, plus I can wash my dishes in it.

[–] [email protected] 3 points 1 year ago (1 children)

Emacs is the best vim implementation.

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

Emacs is a great operating system but lacks a good text editor

[–] [email protected] 1 points 1 year ago

IDK what you're talking about, Vim runs great on there.

[–] [email protected] 1 points 1 year ago

I use Emacs for just about everythinhg, including Rust dev. It's fantastic!

[–] [email protected] 9 points 1 year ago (2 children)

Neovim all the way!

Rustanalyzer is seamless with it and I never have issues with multiple instances running

[–] [email protected] 4 points 1 year ago (2 children)

I also use Neovim with coc-rust-analyzer as my daily setup, although, for large projects, it eats up to 4GB of RAM :/

[–] [email protected] 3 points 1 year ago (1 children)

Wow crazy. I honestly couldn't say what lsp settings I use. My personal config broke a while back and I use Astronvim now until I get to fixing it... Although so far its been good enough that I just dont bother moving back...

[–] [email protected] 5 points 1 year ago

Yea, for me it's also working pretty fast (unused ram is wasted ram anyway), just that I must always keep an eye on my RAM usage of my 10-year-old PC with 8GB of RAM and HDD only...

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

vscode. I think anything that supports LSP works well with rust, but my vscode setup is comfy enough and devcontainers are rather nice.

[–] [email protected] 6 points 1 year ago

Helix, great out of the box experience and is written in Rust itself.

[–] [email protected] 6 points 1 year ago

Helix text editor

[–] [email protected] 6 points 1 year ago (1 children)

I used VSCode for a few months and tried the CLion free trial after missing some of the features from IntelliJ I use at work. I think CLion edges out just a little, but not by much. Both have some rough patches.

Next time I pick up a Rust project I want to try neovim; I keep ending in tutorial hell for vim and never actually building anything with it. But before that, I think I want to ditch my Windows OS all together and pick some Linux distro, something I've been putting off a very long time.

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

Try Linux Mint. It's made for people who are coming over from Windows. You'll find it feels very familiar.

[–] [email protected] 1 points 1 year ago

This was also the distribution I chose when first moving away from Windows and I can definitely recommend it. The vast majority of things worked out of the box, and people on the Linux Mint forum were very helpful in solving my remaining issues.

[–] [email protected] 5 points 1 year ago

I used to use CLion for rust but lately I've switched to VScode with rust-analyzer and it is pretty good, so I've more or less switched to it.

Also helix mentioned here looks interesting, I might try it out.

[–] [email protected] 4 points 1 year ago

Once I started using CLion I couldn't go back

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Neovim. Its awesome with the rust plugin. Everything works and it's fast.

[–] nivenkos 1 points 1 year ago

Could you share your config?

I switched to the built-in LSP but keep hitting small issues with changes to mappings, etc. and keeping rust-analyzer updated is a pain.

So now I just use vscode, even though I'd really like to have neovim set up for small things.

[–] [email protected] 4 points 1 year ago

I'm not a rust dev but ran into Lapce recently which seemed to be vscode like IDE for rust made in Rust.

[–] [email protected] 3 points 1 year ago (1 children)

Helix is neat but not a full IDE. After a while I'm much more efficient and basically don't use the mouse anymore. https://helix-editor.com/

[–] [email protected] 3 points 1 year ago

VScode. It works mostly fine for me, using rust-analyzer and CodeLLDB

[–] rath 2 points 1 year ago

Wow, no one mentioning IntelliJ?? I use the free edition with Rust and it works great... the only thing missing is a debugger, which requires the CLion distribution which is not free... but so far that hasn't been a big problem for me.

[–] [email protected] 2 points 1 year ago

Kakoune for all languages :-)

[–] [email protected] 2 points 1 year ago

I alternate between CLion and VSCode depending on what I'm doing. CLion has nice refactoring tools, but VSCode has much better GitHub Copilot integration.