We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4ac3dd + bbd9013 commit 33df947Copy full SHA for 33df947
xtask/src/install.rs
@@ -24,6 +24,7 @@ pub struct ServerOpt {
24
25
impl InstallCmd {
26
pub fn run(self) -> Result<()> {
27
+ let both = self.server.is_some() && self.client.is_some();
28
if cfg!(target_os = "macos") {
29
fix_path_for_mac().context("Fix path for mac")?
30
}
@@ -33,6 +34,16 @@ impl InstallCmd {
33
34
if let Some(client) = self.client {
35
install_client(client).context("install client")?;
36
37
+ if both {
38
+ eprintln!(
39
+ "
40
+ Installation complete.
41
+
42
+ Add `\"rust-analyzer.raLspServerPath\": \"ra_lsp_server\",` to VS Code settings,
43
+ otherwise it will use the latest release from GitHub.
44
+"
45
+ )
46
+ }
47
Ok(())
48
49
0 commit comments