-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Reveal in files instead of Finder #13432
Reveal in files instead of Finder #13432
Conversation
We require contributors to sign our Contributor License Agreement, and we don't have @francesco-gaglione on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
If we're doing a rename, I think we should use the generic term file manager. Finder/Files are specific application names. |
@mrnugget working on it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should do a rename, I'd prefer if we added actions for each operating system, and then used cfg!()
to switch between which actions we register and use in the UI.
Essentially, this would mean wrapping each |
@mikayla-maki wrapped actions with your suggestion. Check it if it is enough. Thank you. |
This pr can be merged or I have to solve conflicts first? |
I think rebasing on main (or merging it in) and fixing the conflicts would be great. |
@mrnugget done it. so we can merge? |
I don't have a mac can anyone test before merging? |
I tested on Linux and on macOS. On Linux everything works as expected. On macOS the action is now called "Reveal in File Manager". I think @mikayla-maki's idea was that we define two actions: The problem is that for the Sooooo, should we go with the rename then, @mikayla-maki? :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrnugget Agreed! Thanks for bringing that issue to my attention :)
fixes: #12776 Release Notes: - Renamed `editor::RevealInFinder` to `editor::RevealInFileManager` --------- Co-authored-by: Mikayla Maki <[email protected]>
fixes: #12776
Release Notes:
editor::RevealInFinder
toeditor::RevealInFileManager