this post was submitted on 22 Sep 2025
16 points (94.4% liked)
Rust
7656 readers
23 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you're a lifesaver, IDK about the error message on the top didn't configure much except nord-night theme must be a bad design choice on helix's part
fwiw if you do a
cargo buildyou should be able to see the error messages in the correct context. If I replicate line 25 in a little test project and runcargo buildI getIf I try this with a blank helix config I don't get any of the text output from
rust-analyzerat all, just the three dots indicating there's a problem there, so it's unlikely it's a bad design choice on helix's part.Inline diagnostics was implemented earlier this year, and is still not enabled by default (likely to prevent breaking existing configs). The changelog is from January of this year:
https://helix-editor.com/news/release-25-01-highlights/
You can set it up here, and is straightforward:
https://docs.helix-editor.com/editor.html#editorinline-diagnostics-section
As an avid Helix user, thank you for linking this! I had no idea this was available, nor that I wanted it in the first place, but now I do.