-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Drag'n'drop file to Zed window #6069
Comments
As of today, version |
Observed some of my colleagues struggle with this yesterday. I have mostly worked around it myself though :) They tried to move a file from a Finder window into a project folder, which works in their usual editor of choice vs *ode. |
Just to bring others up to speed - we have a working prototype of this in our codebase, but its not fully complete and we will need to finish off our port to GPUI2 and moving to open source before we fully implement it. That being said, its something we should be able to land, relatively easily, after those blockers are out of the way. |
Deals with https://github.com/zed-industries/community/issues/1317 Deals with https://github.com/zed-industries/community/issues/486 Reworks pane drag and drop code to support * dropping external files into main pane (supports splits same as tabs and project entries drop) — this will open the file dropped * dropping external files, tabs and project entries drop into the terminal — this will add file abs path into the terminal Release Notes: - Added a way to drag and drop external files into Zed main & terminal panes; support tabs and project entries drop into terminal pane
This is implemented in v0.119.4 preview. |
Thank you much, it is a work facilitator indeed. One more note though at it seems closely related, I cannot find the ticket now, except #5008, which mentions in the comments drag and dropping panes between separate windows, which seems natural extension of current drag’n’drop. This extension would be really helpful. |
Hi there, have a very similar bug that may be tied to this one. Opening a file with Zed always creates a new window. This is also the case for the v0.119.4 preview. Example use case for me is editing some config files via Finder or Transmit (FTP client) via "Open with" results always in an new window. I'd rather have a new tab attaching to the existing window. |
Check for existing issues
Describe the feature
As in the topic, this is request for a drag'n'drop files into Zed window. Currently I can drop the file on the app icon, which will open the file, but dropping on-top of the Zed window does nothing. Also drop in particular tab should also allow for a file open in this particular tab.
Thanks for great product and all the team hard work!
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: