Workspace persistence for SSH projects (#17996)
TODOs: - [x] Add tests to `workspace/src/persistence.rs` - [x] Add a icon for ssh projects - [x] Fix all `TODO` comments - [x] Use `port` if it's passed in the ssh connection options In next PRs: - Make sure unsaved buffers are persisted/restored, along with other items/layout - Handle multiple paths/worktrees correctly Release Notes: - N/A --------- Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
This commit is contained in:
parent
7d0a7541bf
commit
e9f2e72ff0
12 changed files with 592 additions and 141 deletions
|
@ -667,7 +667,11 @@ fn handle_open_request(
|
|||
cx.spawn(|mut cx| async move {
|
||||
open_ssh_project(
|
||||
connection_info,
|
||||
request.open_paths,
|
||||
request
|
||||
.open_paths
|
||||
.into_iter()
|
||||
.map(|path| path.path)
|
||||
.collect::<Vec<_>>(),
|
||||
app_state,
|
||||
workspace::OpenOptions::default(),
|
||||
&mut cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue