Rename workspace::Restart
action into workspace::Reload
(#12672)
Closes https://github.com/zed-industries/zed/issues/12609 Instead of adding some ordering mechanism to the actions, rename the action so that it's not interfering with the `editor: restart language server` command. Before:   After:   Release Notes: - Improved language server restart command ergonomics by renaming `workspace::Restart` action into `workspace::Reload` to remove any other "restart"-worded actions in the list
This commit is contained in:
parent
75f8be6a0f
commit
953393f6ce
3 changed files with 8 additions and 8 deletions
|
@ -285,10 +285,10 @@ impl ActivityIndicator {
|
|||
icon: None,
|
||||
message: "Click to restart and update Zed".to_string(),
|
||||
on_click: Some(Arc::new({
|
||||
let restart = workspace::Restart {
|
||||
let reload = workspace::Reload {
|
||||
binary_path: Some(binary_path.clone()),
|
||||
};
|
||||
move |_, cx| workspace::restart(&restart, cx)
|
||||
move |_, cx| workspace::reload(&reload, cx)
|
||||
})),
|
||||
},
|
||||
AutoUpdateStatus::Errored => Content {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue