diff --git a/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.ts b/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.ts index 130b8589e256eda4f04b99d51a61871d19139504..587e5c17fe81a3b0f2987a6ff0fe204c101e4681 100644 --- a/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.ts +++ b/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.ts @@ -22,6 +22,7 @@ export class USLayoutResolvedKeybinding extends ResolvedKeybinding { if (!actual) { throw new Error(`Invalid USLayoutResolvedKeybinding`); } else if (actual.type === KeybindingType.Chord) { + // TODO@chords this._firstPart = actual.parts[0]; this._chordPart = actual.parts[1]; } else { diff --git a/src/vs/platform/keybinding/test/common/keybindingResolver.test.ts b/src/vs/platform/keybinding/test/common/keybindingResolver.test.ts index 2e84884d65e11f3c63e150dba3cd098742e73804..2b1b1415e8eb365ccad17009e66b50a83830a85a 100644 --- a/src/vs/platform/keybinding/test/common/keybindingResolver.test.ts +++ b/src/vs/platform/keybinding/test/common/keybindingResolver.test.ts @@ -347,6 +347,7 @@ suite('KeybindingResolver', () => { const expectedKey = createKeybinding(_expectedKey, OS); if (expectedKey.type === KeybindingType.Chord) { + // TODO@chords let firstPart = getDispatchStr(expectedKey.parts[0]); let chordPart = getDispatchStr(expectedKey.parts[1]); diff --git a/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.ts b/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.ts index 58ea4be813d4ca50c6256fea25f957b242d037d0..743aa451f2f8a1294bb83319c52912ce69699d3d 100644 --- a/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.ts +++ b/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.ts @@ -1015,6 +1015,7 @@ export class MacLinuxKeyboardMapper implements IKeyboardMapper { let result: NativeResolvedKeybinding[] = [], resultLen = 0; if (keybinding.type === KeybindingType.Chord) { + // TODO@chords const firstParts = this.simpleKeybindingToScanCodeBinding(keybinding.parts[0]); const chordParts = this.simpleKeybindingToScanCodeBinding(keybinding.parts[1]); diff --git a/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.ts b/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.ts index 50099e54ec43333007d921e0744f5f971575db3a..1ac946c31491128ddac5de6947f542c533782832 100644 --- a/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.ts +++ b/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.ts @@ -519,6 +519,7 @@ export class WindowsKeyboardMapper implements IKeyboardMapper { public resolveKeybinding(keybinding: Keybinding): WindowsNativeResolvedKeybinding[] { if (keybinding.type === KeybindingType.Chord) { + // TODO@chords const firstPartKeyCode = keybinding.parts[0].keyCode; const chordPartKeyCode = keybinding.parts[1].keyCode; if (!this._keyCodeExists[firstPartKeyCode] || !this._keyCodeExists[chordPartKeyCode]) {