:on[ly] joins groups but does not close editors (#9014)

This commit is contained in:
Paweł Kopiczko 2024-06-30 23:50:31 +01:00 committed by GitHub
parent f59aef650a
commit a1f5fc0808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@ import { ExCommand } from '../../vimscript/exCommand';
export class OnlyCommand extends ExCommand {
async execute(vimState: VimState): Promise<void> {
await Promise.allSettled([
vscode.commands.executeCommand('workbench.action.closeEditorsInOtherGroups'),
vscode.commands.executeCommand('workbench.action.joinAllGroups'),
vscode.commands.executeCommand('workbench.action.maximizeEditor'),
vscode.commands.executeCommand('workbench.action.closePanel'),
]);