Use current's file directory as default for the new file in Save As
Description
When trying to duplicate a file is common that the new file goes in the same directory or very close to the current one. As a fast way to duplicate it would be easier if when you press save as, the File name picker starts at the current's file directory instead of the root project directory. In big projects sometimes it's hard/slow to find the current directory using the tree.
+1 much harder than it should be right now. Currently have to Right click + Find in Finder to duplicate a file.
Note, you can duplicate files from the Project Panel (no Save As or Finder required).
Just right click on a filename, select "Duplicate" and a new filename copy.ext will appear.
+1
In something like VS Code, when you have a file src/path/hello/file.txt open, create a new file, and then press save, the Save As menu has the directory set to src/path/hello/ by default. Would definitely be a huge +
Zed 0.201.8
7b94cebf099ec4b7bf765026a84dec898be9a874
I never experienced this issue on macOS. Save As... is my first choice to create a duplicate of the file. Save Ass... dialog's current directory is always the directory that contains the original file.
Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!
i will take a look at this tonight
Hello,
We’re closing this issue as part of a cleanup of older feature requests.
Going forward, new feature requests start as GitHub Discussions and only become Issues once the direction is agreed on. This helps ensure that Issues represent scoped, ready-to-build work and makes it easier for contributors to find work that’s ready to pick up. You can read more in our Feature Request Guidelines.
As part of this transition, we’re closing feature request Issues that are older than 6 months and have fewer than 10 upvotes.
If this feature hasn’t been implemented and is still important to you, we encourage you to open a new feature request Discussion here. That’s where we track and evaluate new requests.
Thanks for helping shape the future of Zed.