( modifiers: ShortcutModifierStateLike, keybindings: ResolvedKeybindingsConfig, options?: ShortcutMatchOptions, )
| 291 | } |
| 292 | |
| 293 | export function shouldShowThreadJumpHintsForModifiers( |
| 294 | modifiers: ShortcutModifierStateLike, |
| 295 | keybindings: ResolvedKeybindingsConfig, |
| 296 | options?: ShortcutMatchOptions, |
| 297 | ): boolean { |
| 298 | const platform = resolvePlatform(options); |
| 299 | |
| 300 | for (const command of THREAD_JUMP_KEYBINDING_COMMANDS) { |
| 301 | const shortcut = findEffectiveShortcutForCommand(keybindings, command, options); |
| 302 | if (!shortcut) continue; |
| 303 | if (matchesShortcutModifiers(modifiers, shortcut, platform)) { |
| 304 | return true; |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | return false; |
| 309 | } |
| 310 | |
| 311 | export function modelPickerJumpCommandForIndex( |
| 312 | index: number, |
no test coverage detected