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 Dec 8, 2020. It is now read-only.
Version of VSCode: 1.24.0
Version of the extension: 0.4.2
OS: MacOS High Sierra
Description
As a newbie to Rust, I got confused about what I was supposed to do to set the toolchain. I initially tried "rust.rustup.toolchain": "nightly", setting the absolute path to all the tools and more before realizing, oh, it's a dictionary after I open up the project's configuration. Even then it took me a while to realize the value expected is the complete string as output by rustup toolchain list.
My suggestion is that in legacy mode, if the user has not set their toolchain, the message shown should tell the user how they are to configure the toolchain; where to obtain it and where to set it.
On a somewhat related note: Some configuration items (like rust.rustup) are currently set to null by default. If set to an empty dictionary or better yet, a dictionary with all the keys and null values, it would serve as a useful hint about the structure of the configuration. (should this be a separate issue?)
Output of the "Rust logging" channel
DEBUG: Rustup: updateToolchains: this.toolchains=[{"channel":"stable","host":"x86_64-apple-darwin","isDefault":false},{"channel":"nightly","host":"x86_64-apple-darwin","isDefault":true}]
DEBUG: activate: processPossibleSetButMissingUserToolchain: toolchainKind=toolchain
DEBUG: activate: processPossibleSetButMissingUserToolchain: no user toolchain
DEBUG: activate: handleMissingRustupUserToolchain: toolchainKind=toolchain
and the following dialog was shown:
The text was updated successfully, but these errors were encountered:
Oh lol. As it turns out, dismissing the notification gives a prompt for choosing a toolchain. I guess this issue then becomes to communicate in that notification that dismissing the notification would open a prompt.
Version of VSCode: 1.24.1
Version of the extension: 0.4.2
OS: MacOS High Sierra
I observed the dialog, dismissed it, and then was presented with a toolchain selection box. I wanted to make sure I selected the correct toolchain so I switched to Chrome and back, but the selection box had disappeared.
Version of VSCode: 1.24.0
Version of the extension: 0.4.2
OS: MacOS High Sierra
Description
As a newbie to Rust, I got confused about what I was supposed to do to set the toolchain. I initially tried
"rust.rustup.toolchain": "nightly"
, setting the absolute path to all the tools and more before realizing, oh, it's a dictionary after I open up the project's configuration. Even then it took me a while to realize the value expected is the complete string as output byrustup toolchain list
.My suggestion is that in legacy mode, if the user has not set their toolchain, the message shown should tell the user how they are to configure the toolchain; where to obtain it and where to set it.
On a somewhat related note: Some configuration items (like
rust.rustup
) are currently set to null by default. If set to an empty dictionary or better yet, a dictionary with all the keys and null values, it would serve as a useful hint about the structure of the configuration. (should this be a separate issue?)Output of the "Rust logging" channel
and the following dialog was shown:
The text was updated successfully, but these errors were encountered: