Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Can I use stable rustc, but nightly rustfmt? #438

Open
@wigy-opensource-developer

Description

Version of VSCode: 1.28.1
Version of the extension: 0.4.10
OS: GNU/Linux x86_64

I tried to set the following in my workspace settings, but it seems to be ignored. I get different results running "Format Document" in VSCode and cargo +nightly fmt in the command line.

"rust.rustfmt_path": "${env:HOME}/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustfmt"

Is there a way to execute cargo +nightly fmt on format document?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-HighenhancementIndicates new feature requestsrlsIssue related to the RLS itself rather than the extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions