Skip to content

Allow opening a new window by default - #58805

Merged
bennetbo merged 9 commits into
mainfrom
window-open-behavior
Jun 10, 2026
Merged

Allow opening a new window by default#58805
bennetbo merged 9 commits into
mainfrom
window-open-behavior

Conversation

@bennetbo

@bennetbo bennetbo commented Jun 8, 2026

Copy link
Copy Markdown
Member

Adds default_open_behavior which let's users control which action should be the default (add to existing window/open a new window)

TODO:

  • Use sensible icon (not IconName::Screen) when default_open_behavior is set to new_window
  • Tweak wording for actions in recent projects menu
image

Release Notes:

  • Added default_open_behavior which controls which action (add to sidebar/open in new window) should be the default when selecting a project from the recent projects menu

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 8, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 8, 2026
@bennetbo
bennetbo marked this pull request as ready for review June 8, 2026 15:15
@bennetbo
bennetbo added this pull request to the merge queue Jun 10, 2026
Merged via the queue into main with commit b27c1bb Jun 10, 2026
50 of 52 checks passed
@bennetbo
bennetbo deleted the window-open-behavior branch June 10, 2026 12:05
This was referenced Jun 18, 2026
@Ptujec

Ptujec commented Jun 18, 2026

Copy link
Copy Markdown

This is great. Thank you. But when opening a project from the Finder, it still does not open in a new window. Do I need to open another issue for that?

@bennetbo

Copy link
Copy Markdown
Member Author

@Ptujec Good catch! Feel free to open an issue and ping me there

@Ptujec

Ptujec commented Jun 18, 2026

Copy link
Copy Markdown

@Ptujec Good catch! Feel free to open an issue and ping me there

#59540

jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Adds `default_open_behavior` which let's users control which action
should be the default (add to existing window/open a new window)

TODO:
- [x] Use sensible icon (not `IconName::Screen`) when
`default_open_behavior` is set to `new_window`
- [x] Tweak wording for actions in recent projects menu
<img width="420" height="59" alt="image"
src="https://github.com/user-attachments/assets/69ef112e-bf20-4dd1-9994-e4442266ef87"
/>


Release Notes:

- Added `default_open_behavior` which controls which action (add to
sidebar/open in new window) should be the default when selecting a
project from the recent projects menu

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Adds `default_open_behavior` which let's users control which action
should be the default (add to existing window/open a new window)

TODO:
- [x] Use sensible icon (not `IconName::Screen`) when
`default_open_behavior` is set to `new_window`
- [x] Tweak wording for actions in recent projects menu
<img width="420" height="59" alt="image"
src="https://github.com/user-attachments/assets/69ef112e-bf20-4dd1-9994-e4442266ef87"
/>


Release Notes:

- Added `default_open_behavior` which controls which action (add to
sidebar/open in new window) should be the default when selecting a
project from the recent projects menu

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants