Report running language servers when sharing project for the first time
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
e9d19457d6
commit
69aa3d848e
2 changed files with 39 additions and 5 deletions
|
@ -1256,6 +1256,18 @@ impl Project {
|
|||
});
|
||||
}
|
||||
|
||||
for (server_id, status) in &self.language_server_statuses {
|
||||
self.client
|
||||
.send(proto::StartLanguageServer {
|
||||
project_id,
|
||||
server: Some(proto::LanguageServer {
|
||||
id: *server_id as u64,
|
||||
name: status.name.clone(),
|
||||
}),
|
||||
})
|
||||
.log_err();
|
||||
}
|
||||
|
||||
cx.spawn(|this, mut cx| async move {
|
||||
for task in tasks {
|
||||
task.await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue