Does code formatting work for you in VSCode and in integration tests?

I don't know about you guys and girls but my code does not automatically format when I save integration tests. The format on save definitely works on normal project modules, only integration tests do not format.

For example, I have a very, very long line that is supposed to be multiline but it stays on one line anyway.

Has anyone got such an issue? Is there a way to solve this?

And, I would like to report this behavior but I don't really know which project the issue arises from. Should I report this to Rust Analyzer, Cargo, or another project? You can see my environment below.


Environment

  • Ubuntu 21.04
  • VSCode 1.62.3 (Snap installation)
  • Rust Extensions Pack (incl. Rust Analyzer instead of Rust Language Server)

Reported.

https://github.com/rust-lang/rustfmt/issues/5105

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.