zed
zed copied to clipboard
Cannot undo actions in the project panel
Summary
Can't undo renames, can't undo moved files or files that have been copied and pasted, deletes, etc.
Environment
Zed: 0.70.0 (preview) OS: macOS 13.1.0 Memory: 64 GiB Architecture: aarch64
Also, there is an issue with editing a file, closing it, and trying to undo changes. You just cannot do that
Also, there is an issue with editing a file, closing it, and trying to undo changes. You just cannot do that
KidPudel This issue is about undo of project panel operations (rename, copy, move, duplicate, etc). Please file a distinct issue with an enhancement request for persisting undo state across tab closure / reopening.
and still no change?
redo renaming and transferring files is possible even when working with finder + terminal, but not in ZED IDE?
redo renaming and transferring files is possible even when working with finder + terminal, but not in ZED IDE?
Yeah, this is really annoying, I don't understand how people use Zed when it only has 15 upvotes, there is literally no attention to this issue. Instead of this, one of the top requests is for minimap and more AI bindings, which is hilariously insane. I do want to love and use this product, it gives me a NeoVim feel, but without the constant need for customization. However, these kinds of problems aren't getting enough focus :(
+1
Strong +1 from me as well.
If the maintainers have any direction for where to start on this, I'd be happy to try to lend a hand to contribute.
I also checked my zed log to see if there was any relevant info. Here's what I have:
2024-11-25T20:31:29.981696-08:00 [INFO] ========== starting zed ==========
2024-11-25T20:31:30.025616-08:00 [INFO] Opening main db
2024-11-25T20:31:30.028006-08:00 [INFO] Opening main db
2024-11-25T20:31:30.040496-08:00 [INFO] Using git binary path: Some("/Applications/Zed.app/Contents$
2024-11-25T20:31:30.252267-08:00 [INFO] No prompt template overrides directory found at /Users/max/$
2024-11-25T20:31:30.253506-08:00 [INFO] extensions updated. loading 5, reloading 0, unloading 0
2024-11-25T20:31:30.292098-08:00 [INFO] Opening main db
2024-11-25T20:31:30.343682-08:00 [INFO] Opening main db
2024-11-25T20:31:30.346418-08:00 [INFO] set status on client 0: Authenticating
2024-11-25T20:31:30.348109-08:00 [INFO] Opening main db
Still no fix on this issue flagged from over a year ago. Have stopped using Zed because of this. :cry:
Please
Any news on this? I just lost an entire file of code because I right-clicked on another file name. For some reason the editor selects 2 files (the one I was editing and the one I selected), and this behavior doesn't make any sense, if I wanted to select 2 files, I would have simply pressed shift or cmd and then clicked on the files. I ended up losing an empty file that I wanted and what I was editing. I'm sorry, but this should be a basic function of an IDE.
Env: M1 Pro Zed 0.165.4
@viniciusnevescosta I believe the issue you bumped into is this:
- https://github.com/zed-industries/zed/issues/21605
Which has already been fixed in Zed Preview and will be available in Zed Stable on Wednesday 2024-12-18.
Otherwise, no news to report about Undo support, sorry.
WE NEED THIS RIGHT NOW! I just deleted a bunch of work by accident.
I guess I'm switching back to VS Code because you can't just not have this in your code editor.
Any news on this? I just lost an entire file of code because I right-clicked on another file name. For some reason the editor selects 2 files (the one I was editing and the one I selected), and this behavior doesn't make any sense, if I wanted to select 2 files, I would have simply pressed shift or cmd and then clicked on the files. I ended up losing an empty file that I wanted and what I was editing. I'm sorry, but this should be a basic function of an IDE.
Env: M1 Pro Zed 0.165.4
Same thing happened to me
Why this is still not added? Its basic operation on file tree. I see there is remove to trash right now but how to revert it? Restore? or undo any other action like mystically moved files or dirs to wrong dir? Please add it finally
Trash moves it to your trash, simply go into the File-Manager of your choice and restore in from trash. Still, pressing undo in Zed should definitely also do that, which it does not so far.
Hi, thanks for the great editor the zed team is building
I was using Zed as my main editor, but today I had to return to my old editor/ide. I was deleting the node_modules directory and for some reason (lag, bugs, etc) it deleted the entire project I was working on, I lost 1 day of work with that.
It even display the dialog if I wanted to trash or cancel, I click cancel (expecting the action was going to be rollback), no luck, 1 day of work lost :(
Hope you can prioritize this. For me, this was a killer
Regards,
Hi, thanks for the great editor the zed team is building
I was using Zed as my main editor, but today I had to return to my old editor/ide. I was deleting the node_modules directory and for some reason (lag, bugs, etc) it deleted the entire project I was working on, I lost 1 day of work with that.
It even display the dialog if I wanted to trash or cancel, I click cancel (expecting the action was going to be rollback), no luck, 1 day of work lost :(
Hope you can prioritize this. For me, this was a killer
Regards,
Well, use git...
Hi, thanks for the great editor the zed team is building I was using Zed as my main editor, but today I had to return to my old editor/ide. I was deleting the node_modules directory and for some reason (lag, bugs, etc) it deleted the entire project I was working on, I lost 1 day of work with that. It even display the dialog if I wanted to trash or cancel, I click cancel (expecting the action was going to be rollback), no luck, 1 day of work lost :( Hope you can prioritize this. For me, this was a killer Regards,
Well, use git...
An IDE that requires me to git commit before every file operation to avoid risking losing my changes clearly fails in my eyes.
Hi, thanks for the great editor the zed team is building I was using Zed as my main editor, but today I had to return to my old editor/ide. I was deleting the node_modules directory and for some reason (lag, bugs, etc) it deleted the entire project I was working on, I lost 1 day of work with that. It even display the dialog if I wanted to trash or cancel, I click cancel (expecting the action was going to be rollback), no luck, 1 day of work lost :( Hope you can prioritize this. For me, this was a killer Regards,
Well, use git...
An IDE that requires me to git commit before every file operation to avoid risking losing my changes clearly fails in my eyes.
Well, every file... at list make an initial commit 😥
hey is it possible for a rust beginner to pick this up?
Would love this...accidentally deleted my sqlite database while in ssh mode! That's on me for not having a backup—but still! Would be nice to be able to ctrl + z.
Accidentally just deleted my whole project. I'll remember to push more often from now on!
Lmao do we need a bounty for this. It’s legit scary
Ran into the same issue but was luckily able to recover the files from trash. As a workaround, I set skip_prompt to false so that I at least get a prompt before deletion:
{
"context": "ProjectPanel",
"use_key_equivalents": true,
"bindings": {
"cmd-backspace": ["project_panel::Trash", { "skip_prompt": false }]
}
}
@llan0 - this would be a nice feature to add as a flag
Hello 👋🏻 Has there been any movement on this? I have Tourette's and so randomly move files all the time, so this is a complete blocker to me using Zed.
@smoothml unfortunately, no movements on this
??? how is this not even looked at? I have been using zed for 1 year and obv never had a cmd-delete moment ... until now...
@Waterfountain10 welcome to the party! Delete something important? 😆
is this even real? ahahahahaha why would you even use this garbage editor