zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.86k stars 3.15k forks source link

Setting for not remembering project state #18243

Open colin-rocks opened 2 months ago

colin-rocks commented 2 months ago

Check for existing issues

Describe the feature

I've seen comments, but no formal issues about this topic.

When I open Zed, it restores project state and open tabs. I want a setting that disables that, and gives me a completely clean slate.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

JosephTLyons commented 2 months ago

@colin-rocks, does this setting work for you?

"restore_on_startup": "none"
colin-rocks commented 2 months ago

@colin-rocks, does this setting work for you?

"restore_on_startup": "none"

No, that seems to only apply to opening Zed with no args.

To clarify, when I open Zed, I cd some/working/directoy; zed .