-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Reopen Editor with breaks --wait behavior #111187
Comments
/cc @bpasero For more weird |
When we detect
To then delete a wait marker file which the calling side polls on for deletion before returning:
The code for observing editors closing probably needs to be made more clever around the fact that editors can reopen: vscode/src/vs/workbench/browser/editor.ts Line 174 in eebf8e8
Currently we just listen to Some ideas:
Not a big fan of the debouncing because that solution sounds fragile to me. A property would make more sense to me. Note that we already have a |
Given my recent change in this area, if we were to enrich vscode/src/vs/workbench/common/editor.ts Line 736 in cc4ace1
|
This sounds like a good solution |
Tested this and it seems the |
Because Reopen Editor with seems to close the current document, and re-open it again in with the new editor, this break the
--wait
behavior. IMO, switching editors, shouldn't cause the document to be closed/opened nor break--wait
FYI, this causes issues for the new GitLens rebase editor, as it relies on the
--wait
behavior.The text was updated successfully, but these errors were encountered: