-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Closing inactive editors will still update breadcrumb #99041
Comments
@jrieken hm, |
It looks like we would update breadcrumbs even if no editors are closing, I fixed that with 64955f1 Looking at
updateBreadcrumbsControl even if the editors that close are not the active one. Leaving that up to you to clean up, e.g. maybe this should only call when the active editor is part of the ones to close.
|
I would need to know if the active tab was closed or not but it seems that
@bpasero Am I missing something or this this too far down the line? |
nvm - looks like |
@jrieken closeEditors(editors: IEditorInput[]): void {
this.handleClosedEditors();
if (this.group.activeEditor && editors.indexOf(this.group.activeEditor) !== -1) {
this.updateBreadcrumbsControl();
}
} To make sure breadcrumbs update when the list of closed editors includes the active one. I can see that reduces flicker when running "Close Others". |
For |
Testing #98019
cmd+w
The text was updated successfully, but these errors were encountered: