Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ulugbekna committed Mar 31, 2023
1 parent 38a5871 commit f4e02c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/platform/keybinding/common/keybindingResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ export class KeybindingResolver {
return items[items.length - 1];
}

/**
* Example: resolving user chord presses - `cmd+k cmd+p cmd+i` - `currentChords = [ 'cmd+k' , 'cmd+p' ]` and `keypress = `cmd+i` - last pressed chord
*/
public resolve(context: IContext, currentChords: string[], keypress: string): ResolutionResult {

this._log(`| Resolving ${keypress}${currentChords ? ` chorded from ${currentChords}` : ``}`);
Expand Down

0 comments on commit f4e02c6

Please sign in to comment.