zed: Add ability to restore last session w/ multiple windows (#14965)
This adds the ability for Zed to restore multiple windows after restarting. It's now the default behavior. Release Notes: - Added ability to restore all windows that were open when Zed was quit. Previously only the last used workspace was restored. This is now the default behavior. To get back the old behavior, add the following to your settings: `{"restore_on_startup": "last_workspace"}` (Part of [#4985](https://github.com/zed-industries/zed/issues/4985) and [#4683](https://github.com/zed-industries/zed/issues/4683)) Demo: https://github.com/user-attachments/assets/57a375ec-0c6a-4724-97c4-3fea8f18bc2d --------- Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
53f828df7d
commit
17ef9a367f
18 changed files with 660 additions and 172 deletions
|
@ -20,6 +20,7 @@ test-support = [
|
|||
"http/test-support",
|
||||
"db/test-support",
|
||||
"project/test-support",
|
||||
"session/test-support",
|
||||
"settings/test-support",
|
||||
"gpui/test-support",
|
||||
"fs/test-support",
|
||||
|
@ -53,6 +54,7 @@ task.workspace = true
|
|||
schemars.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
session.workspace = true
|
||||
settings.workspace = true
|
||||
smallvec.workspace = true
|
||||
sqlez.workspace = true
|
||||
|
@ -69,5 +71,6 @@ env_logger.workspace = true
|
|||
fs = { workspace = true, features = ["test-support"] }
|
||||
gpui = { workspace = true, features = ["test-support"] }
|
||||
project = { workspace = true, features = ["test-support"] }
|
||||
session = { workspace = true, features = ["test-support"] }
|
||||
settings = { workspace = true, features = ["test-support"] }
|
||||
http = { workspace = true, features = ["test-support"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue