A value of format-on-save for you?

⚓ Rust    📅 2026-02-02    👤 surdeus    👁️ 9      

surdeus

I use my own IDE for Rust development. Recently I noticed that other people are also using my tool. I do not like rustfmt work so generally do not use it. However, other people may like it, so question is - what a value of format-on-save for you? I've already integrated rustfmt with my IDE, so I am interested in automatic applying formatting on save.

If you think that the feature is valuable, how to better implement it?

  • use piping mechanism of rustfmt before save
  • save first and then call rustfmt with the file name

Sure, I need to decide what to do with errors and also how to resolve the concurrency issue. Any feedback is valuable.

3 posts - 3 participants

Read full topic

🏷️ Rust_feed