import { IClientConfigurationService as IConfigurationService, GroupDirection } from '../../interfaces'; export function preferredSideBySideGroupDirection(configurationService: IConfigurationService): GroupDirection.DOWN | GroupDirection.RIGHT { const openSideBySideDirection = configurationService.getValue<'right' | 'down'>('workbench.editor.openSideBySideDirection'); if (openSideBySideDirection === 'down') { return GroupDirection.DOWN; } return GroupDirection.RIGHT; }