UNPKG

@sussudio/platform

Version:

Internal APIs for VS Code's service injection the base services.

11 lines (10 loc) 624 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ export function showHistoryKeybindingHint(keybindingService) { return ( keybindingService.lookupKeybinding('history.showPrevious')?.getElectronAccelerator() === 'Up' && keybindingService.lookupKeybinding('history.showNext')?.getElectronAccelerator() === 'Down' ); }