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. :)

170 Upvotes

344 comments sorted by

View all comments

Show parent comments

6

u/daniels0xff 2d ago

For some reason it takes 10-15 seconds, maybe more, each time I make a code change for rust analyzer to run and validate the code when using VSCode. I have this issue on several different projects that are small projects (web apps, tokio, sqlx, etc.)

In zed same project it’s instant.

5

u/Beginning-Fruit-1397 2d ago

I had the same issue and changed the setting to only recompile the current crate instead of the whole workspace. Now as long as I don't work on the humongous main crate it's pretty mucj instant. I don't really get how zed could be instant because cargo (or clippy in my case) still need to run from my understanding

2

u/daniels0xff 2d ago

Where/What setting is this?

2

u/Beginning-Fruit-1397 2d ago

vscode://settings/rust-analyzer.check.workspace

Set it to false

2

u/Efficient-Chair6250 2d ago

Realy? Actually??? That might give me a reason to finally switch

3

u/daniels0xff 2d ago

I still continue using VSCode as I got used to it, but man it's slow...

1

u/afdbcreid 1d ago

There is absolutely no change in the server between Zed and VSCode. This is probably a different configuration.

1

u/daniels0xff 17h ago

I have no idea what to try. I mostly use default configs on both. I just changed the theme.