You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
I'd like to be able to use nightly Rust for rustfmt but keep using stable Rust for everything else. Stable rust is set as the default toolchain in rustup and I always call cargo +nightly fmt for code formatting. However, I couldn't find any option in atom-ide-rust to replicate this behaviour. Instead, everytime I save a file this package adds a whole bunch of trailing commas, likely because the option to remove those is unstable and ignored by stable rustfmt.
The text was updated successfully, but these errors were encountered:
@Green-Avocado rust-analyzer.json does not seem to be loaded. I tried restart all language servers, tested with misformatted json to force an error. It failed to even show any change.
My json:
{
"cargo.unsetTest": [
"minitrace"
]
}
Edit: turns out when I tried reinstalling my ide-rust package, it did not update to 1.1.1.
It works now that I've made sure it updates.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'd like to be able to use nightly Rust for rustfmt but keep using stable Rust for everything else. Stable rust is set as the default toolchain in rustup and I always call
cargo +nightly fmt
for code formatting. However, I couldn't find any option in atom-ide-rust to replicate this behaviour. Instead, everytime I save a file this package adds a whole bunch of trailing commas, likely because the option to remove those is unstable and ignored by stable rustfmt.The text was updated successfully, but these errors were encountered: