Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open files in the current project window when opening from the built-in terminal #9076

Closed
1 task done
JosephTLyons opened this issue Mar 8, 2024 · 0 comments · Fixed by #9202
Closed
1 task done
Labels
cli Command-line interface feedback editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] terminal Feedback for terminal integration, shell commands, etc

Comments

@JosephTLyons
Copy link
Contributor

JosephTLyons commented Mar 8, 2024

Check for existing issues

  • Completed

Describe the feature

This is feedback from the community feedback event we had last week. This likely needs some additional thought put into how this should work.

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

No response

@JosephTLyons JosephTLyons added enhancement [core label] terminal Feedback for terminal integration, shell commands, etc editor Feedback for code editing, formatting, editor iterations, etc cli Command-line interface feedback labels Mar 8, 2024
ConradIrwin added a commit that referenced this issue Mar 11, 2024
When neither is specified, if you open a directory you get a new
workspace, otherwise files are added to your existing workspace.

With --new files are always opened in a new workspace
With --add directories are always added to an existing workspace

Fixes #9076
Fixes #4861
Fixes #5370
ConradIrwin added a commit that referenced this issue Mar 12, 2024
When neither is specified, if you open a directory you get a new
workspace, otherwise files are added to your existing workspace.

With --new files are always opened in a new workspace
With --add directories are always added to an existing workspace

Fixes #9076
Fixes #4861
Fixes #5370
ConradIrwin added a commit that referenced this issue Mar 12, 2024
When neither is specified, if you open a directory you get a new
workspace, otherwise files are added to your existing workspace.

With --new files are always opened in a new workspace
With --add directories are always added to an existing workspace

Fixes #9076
Fixes #4861
Fixes #5370

Release Notes:

- Added `-n/--new` and `-a/--add` to the zed CLI. When neither is
specified, if you open a directory you get a new workspace, otherwise
files are added to your existing workspace. With `--new` files are
always opened in a new workspace, with `--add` directories are always
added to an existing workspace.
([#9076](#9096),
[#4861](#4861),
[#5370](#5370)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Command-line interface feedback editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] terminal Feedback for terminal integration, shell commands, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant