the retired TabSwitchListener is retired to its last line, braces included

This commit is contained in:
2026-08-09 02:18:42 +00:00
parent cbe6d4fb17
commit 060cddc28f
@@ -303,11 +303,11 @@ registerAction2(class extends Action2 {
// addTabSwitchListeners(editor)
// }
// initialize current editors + any new editors
for (let editor of this._editorService.listCodeEditors()) initializeEditor(editor)
this._register(this._editorService.onCodeEditorAdd(editor => { initializeEditor(editor) }))
}
}
// // initialize current editors + any new editors
// for (let editor of this._editorService.listCodeEditors()) initializeEditor(editor)
// this._register(this._editorService.onCodeEditorAdd(editor => { initializeEditor(editor) }))
// }
// }
class TabSwitchContribution extends Disposable implements IWorkbenchContribution {
@@ -348,3 +348,4 @@ class TabSwitchContribution extends Disposable implements IWorkbenchContribution
}
registerWorkbenchContribution2(TabSwitchContribution.ID, TabSwitchContribution, WorkbenchPhase.BlockRestore);