this._currentChordStatusMessage=this._statusService.setStatusMessage(nls.localize('first.chord',"({0}) was pressed. Waiting for second key of chord...",firstPartLabel));
this._statusService.setStatusMessage(nls.localize('missing.chord',"The key combination ({0}, {1}) is not a command.",firstPartLabel,chordPartLabel),10*1000/* 10s */);
// The conflict only shares the chord start with this command
continue;
}
...
...
@@ -192,7 +198,7 @@ export class KeybindingResolver {
if(this._shouldWarnOnConflict&&item.isDefault){
console.warn('Conflict detected, command `'+conflict.commandId+'` cannot be triggered by '+KeybindingLabels.toUserSettingsLabel(keypress)+' due to '+item.command);
`The key combination (${KeybindingLabels._toUSLabel(newKeybinding(KeyMod.CtrlCmd|KeyCode.KEY_K))}, ${KeybindingLabels._toUSLabel(newKeybinding(KeyCode.Backspace))}) is not a command.`
`The key combination (${KeybindingLabels._toUSLabel(createKeybinding(KeyMod.CtrlCmd|KeyCode.KEY_K))}, ${KeybindingLabels._toUSLabel(createKeybinding(KeyCode.Backspace))}) is not a command.`
]);
assert.deepEqual(statusMessageCallsDisposed,[
`(${KeybindingLabels._toUSLabel(newKeybinding(KeyMod.CtrlCmd|KeyCode.KEY_K))}) was pressed. Waiting for second key of chord...`
`(${KeybindingLabels._toUSLabel(createKeybinding(KeyMod.CtrlCmd|KeyCode.KEY_K))}) was pressed. Waiting for second key of chord...`