-
Notifications
You must be signed in to change notification settings - Fork 5.9k
project_panel: Fix buffer focus when canceling filename edit #40747
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
Conversation
…ameter to cancel_edit function
smitbarmase
left a comment
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 think we should default to confirm as same as VSCode. This was recently changed in #39716.
|
Got it sounds good! |
|
Alright that should have sorted that, I had a draft where it confirmed rather than cancelled. I didn't quite know what to call the pr so please feel free to change that! |
smitbarmase
left a comment
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.
Looks great! I removed the global focus out handling since the filename editor’s blur event already covers confirm behavior, making that redundant. Thanks for working on this.
|
Awesome thank you so much! I am very happy to start my contributions to zed!! |
Closes #37726
Release Notes: