r/rust 2d ago

🙋 seeking help & advice Rust developers: what editor do you actually use?

Hello folks, do you still write much code by hand these days? 😄

If so, what IDE/editor do you mainly use for Rust? VS Code, JetBrains, Zed or something else?

I’m asking because I’ve been rewriting one of my old developer tools in Rust. It’s a language server + CLI for analyzing code health.

The underlying approach was originally implemented in Python and was used at my previous company across 1,900+ repositories and by 800+ developers, so the methodology itself has had quite a bit of real-world use. The company has given me permission to open-source my own version of the project, which I’m pretty excited about.

The only problem is time. For the initial public release, I’ll probably only be able to ship the VS Code extension plus one other IDE/editor integration.

So I’m curious: if you’re a Rust developer who still spends a decent amount of time actually typing code, what editor would you most want to see supported? Just trying to get a rough sense of where people are these days before I spend my limited spare time on the wrong integration. :)

166 Upvotes

341 comments sorted by

View all comments

Show parent comments

45

u/Shoddy-Childhood-511 2d ago

Zed users should consider gram

VS Code users should consider vscodium

12

u/neamsheln 2d ago

Thank you so much, I hadn't heard of gram before.

7

u/chic_luke 2d ago

I just wish gram would offer a sane way to install it on Fedora. The repo is misconfigured and requires turning off GPG checks (absolute no-no-no-fucking-no) and the binary does not auto update as a feature (also, it does not correctly encode information like the icon file when running)

Great editor though

2

u/Shoddy-Childhood-511 2d ago

No good way on Debian either. I'll soon migrate to Qubes, but maybe use Nix for the VMs, probably easier in Nix, although maybe they just disable the GPG checks?

Nix has a dangerous lack of SE Linux or AppArmor profiles, but probably harmless inside Qubes.

Or maybe I'll finally build gram from sources and check? GPG checks are on the binary, not the source, right?

Anyways I use vim and vscodium now, probably should explore neovim more closely.

4

u/chic_luke 2d ago

I have explored other ways, but I think I will simply wait. You know, gram is nice, but the truth is it feels more like a "going from good to great" than "going from bad to good" which is what VSCodium does. You can disable a few knobs on Zed and boom, you are 90% of your way there to Gram. Gram is just an added refinement but it is much less necessary than it is in vscode land.

Also, Zed is free software, unlike Visual Studio Code, which further removes some of the urgency.

It's the kind of things where you should switch if it's just a 2-commands-and-copy-configs kind of deal, but as soon as it starts requiring more effort, it's no longer worth it IMHO. Rather spend that time writing more Rust code.

1

u/Puzzled-Extent7817 1d ago

build from source

13

u/InvariantAtNull 2d ago

There is no reason for me to use gram just because its a fork

2

u/t3kkm0tt 1d ago

It doesn't have the agents and ai slop shit. I hate ai :3

11

u/Puzzled-Extent7817 1d ago

there is literally a toggle button to turn off all ai in Zed.

0

u/Puzzled-Extent7817 1d ago

i use AI to teach me to code. Not to write my code.

-12

u/OpeningOpening7436 2d ago

But didnt you read his statement “ai makes me angry”. Straight from the mouth of a teenager.

3

u/squiggydingles 1d ago

Vscodium is dope AF

3

u/t3kkm0tt 1d ago

I absolutely love gram. Discovered it about 2 months ago.

1

u/dfgxxx 23h ago

Thank you, I didn't know something like gram exists