Visual Studio Code, rebuilt in Rust
Rust
feat(windows): add the Windows keybinding table and labels
rokartur1570a28d3b14
diff --git a/native/crates/app/src/keybindings.rs b/native/crates/app/src/keybindings.rsindex 938de0acb78..d44dcfd0880 100644--- a/native/crates/app/src/keybindings.rs+++ b/native/crates/app/src/keybindings.rs@@ -20,6 +20,19 @@ use scan_codes::SCAN_CODE_INFO;use crate::keyboard_mapper::{self, KeyboardMapper, ScanCodeChord};+/// platform.ts `OperatingSystem`: which default table, `contributes.keybindings` key and labels apply.+#[derive(Clone, Copy, Debug, PartialEq, Eq)]+pub enum Os {+ Macintosh,+ Windows,+ // Only the tests build it until M23 makes it Linux's `OS`.+ #[allow(dead_code)]+ Linux,+}++/// This build's `OS`. Linux keeps the macOS table and labels until M23 ports its table (`default_table`).+pub const OS: Os = if cfg!(target_os = "windows") { Os::Windows } else { Os::Macintosh };+/// One key press with its modifiers: a `KeyCodeChord` (`key` indexes `KEY_CODES`, 0 is `KeyCode.Unknown`), or a/// `ScanCodeChord` when `scan_code` (an index of `SCAN_CODE_INFO`) is set, where `key` is the US key code it stands/// for without a keyboard mapper. The labels come from the current layout's keyboard mapper when there is one.@@ -75,41 +88,55 @@ impl Chord {(self.ctrl && key == "Ctrl") || (self.shift && key == "Shift") || (self.alt && key == "Alt") || (self.meta && key == "Meta")}- /// The chord as the current layout types it (`resolveKeybinding`'s first result), when a mapper is installed.- fn mapped(&self) -> Option<(std::sync::Arc<KeyboardMapper>, ScanCodeChord)> {+ /// The chord as the current layout types it (`resolveKeybinding`'s first result), when a mapper is installed: the+ /// macOS and Linux one; Windows has no windowsKeyboardMapper yet, so its labels are the US layout's.+ fn mapped(&self, os: Os) -> Option<(std::sync::Arc<KeyboardMapper>, ScanCodeChord)> {+ if os == Os::Windows {+ return None;+ }let mapper = keyboard_mapper::current()?;let chord = mapper.resolve_chord(self).into_iter().next()?;Some((mapper, chord))}- /// The macOS UI label: modifier symbols in Ctrl-Shift-Alt-Cmd order, arrows as arrows.pub fn label(&self) -> String {- if let Some(label) = self.mapped().and_then(|(mapper, chord)| mapper.label(&[chord])) {+ self.label_in(OS)+ }++ /// `UILabelProvider` on `os`: macOS symbols without a separator and arrows as arrows, else names joined by `+`.+ pub fn label_in(&self, os: Os) -> String {+ if let Some(label) = self.mapped(os).and_then(|(mapper, chord)| mapper.label(&[chord])) {return label;}let key = match KEY_CODES[self.key].0 {_ if self.is_duplicate_modifier_case() => "",- "LeftArrow" => "←",- "UpArrow" => "↑",- "RightArrow" => "→",- "DownArrow" => "↓",+ "LeftArrow" if os == Os::Macintosh => "←",+ "UpArrow" if os == Os::Macintosh => "↑",+ "RightArrow" if os == Os::Macintosh => "→",+ "DownArrow" if os == Os::Macintosh => "↓",key => key,};- self.with_modifiers(["\u{2303}", "⇧", "⌥", "⌘"], "", key)+ let (modifiers, separator) = ui_modifier_labels(os);+ self.with_modifiers(modifiers, separator, key)}- /// The boxes `KeybindingLabel.renderChord` draws: one per modifier, then the key.pub fn key_caps(&self) -> Vec<String> {- if let Some((mapper, chord)) = self.mapped().filter(|(mapper, chord)| mapper.label(&[*chord]).is_some()) {+ self.key_caps_in(OS)+ }++ /// The boxes `KeybindingLabel.renderChord` draws: one per modifier, then the key.+ pub fn key_caps_in(&self, os: Os) -> Vec<String> {+ if let Some((mapper, chord)) = self.mapped(os).filter(|(mapper, chord)| mapper.label(&[*chord]).is_some()) {return mapper.key_caps(&chord);}let mut caps = Vec::new();- for (symbol, pressed) in [("\u{2303}", self.ctrl), ("⇧", self.shift), ("⌥", self.alt), ("⌘", self.meta)] {+ let (labels, _) = ui_modifier_labels(os);+ for (symbol, pressed) in labels.into_iter().zip([self.ctrl, self.shift, self.alt, self.meta]) {if pressed {caps.push(symbol.to_string());}}- let key = Chord { ctrl: false, shift: false, alt: false, meta: false, key: self.key, scan_code: None }.label();+ let key = Chord { ctrl: false, shift: false, alt: false, meta: false, key: self.key, scan_code: None }.label_in(os);if !key.is_empty() && !self.is_duplicate_modifier_case() {caps.push(key);}@@ -117,28 +144,48 @@ impl Chord {}pub fn aria_label(&self) -> String {- if let Some(label) = self.mapped().and_then(|(mapper, chord)| mapper.aria_label(&[chord])) {+ self.aria_label_in(OS)+ }++ /// `AriaLabelProvider` on `os`.+ pub fn aria_label_in(&self, os: Os) -> String {+ if let Some(label) = self.mapped(os).and_then(|(mapper, chord)| mapper.aria_label(&[chord])) {return label;}let key = if self.is_duplicate_modifier_case() { "" } else { KEY_CODES[self.key].0 };- self.with_modifiers(["Control", "Shift", "Option", "Command"], "+", key)+ let labels = match os {+ Os::Macintosh => ["Control", "Shift", "Option", "Command"],+ Os::Windows => ["Control", "Shift", "Alt", "Windows"],+ Os::Linux => ["Control", "Shift", "Alt", "Super"],+ };+ self.with_modifiers(labels, "+", key)}/// `keyAriaLabel` of a `ResolvedChord`.pub fn key_aria_label(&self) -> String {let modifierless = |chord: ScanCodeChord| ScanCodeChord { ctrl: false, shift: false, alt: false, meta: false, ..chord };- if let Some(label) = self.mapped().and_then(|(mapper, chord)| mapper.aria_label(&[modifierless(chord)])) {+ if let Some(label) = self.mapped(OS).and_then(|(mapper, chord)| mapper.aria_label(&[modifierless(chord)])) {return label;}KEY_CODES[self.key].0.to_string()}pub fn user_settings_label(&self) -> String {- if let Some(label) = self.mapped().and_then(|(mapper, chord)| mapper.user_settings_label(&[chord])) {+ self.user_settings_label_in(OS)+ }++ /// `UserSettingsLabelProvider` on `os`: the Meta key is `cmd`, `win` or `meta`.+ pub fn user_settings_label_in(&self, os: Os) -> String {+ if let Some(label) = self.mapped(os).and_then(|(mapper, chord)| mapper.user_settings_label(&[chord])) {return label;}let key = if self.is_duplicate_modifier_case() { String::new() } else { KEY_CODES[self.key].1.to_lowercase() };- self.with_modifiers(["ctrl", "shift", "alt", "cmd"], "+", &key)+ let meta = match os {+ Os::Macintosh => "cmd",+ Os::Windows => "win",+ Os::Linux => "meta",+ };+ self.with_modifiers(["ctrl", "shift", "alt", meta], "+", &key)}/// The source `gpui::KeyBinding` parses, `shift-cmd-s`; `None` where Electron has no accelerator either.@@ -166,6 +213,15 @@ impl Chord {}}+/// `UILabelProvider`'s modifier labels (Ctrl, Shift, Alt, Meta) and separator on `os`.+fn ui_modifier_labels(os: Os) -> ([&'static str; 4], &'static str) {+ match os {+ Os::Macintosh => (["\u{2303}", "⇧", "⌥", "⌘"], ""),+ Os::Windows => (["Ctrl", "Shift", "Alt", "Windows"], "+"),+ Os::Linux => (["Ctrl", "Shift", "Alt", "Super"], "+"),+ }+}+/// `_simpleAsString`: the pressed modifiers' labels in Ctrl, Shift, Alt, Meta order, then the key.pub fn with_modifiers(pressed: [bool; 4], labels: [&str; 4], separator: &str, key: &str) -> String {let mut parts: Vec<&str> = labels.iter().zip(pressed).filter(|(_, pressed)| *pressed).map(|(label, _)| *label).collect();@@ -245,14 +301,20 @@ pub fn user_settings_label(chords: &[Chord]) -> String {/// the plain key), else `toElectronAccelerator`'s key name after the modifiers; on the layout's keyboard mapper/// when there is one.pub fn electron_accelerator(chords: &[Chord]) -> Option<String> {- if let Some(mapper) = keyboard_mapper::current() {+ electron_accelerator_in(OS, chords)+}++/// `ElectronAcceleratorLabelProvider` on `os`: the Meta key is `Cmd` on macOS, `Super` elsewhere.+pub fn electron_accelerator_in(os: Os, chords: &[Chord]) -> Option<String> {+ if os != Os::Windows && let Some(mapper) = keyboard_mapper::current() {return mapper.resolve_keybinding(chords).first().and_then(|first| mapper.electron_accelerator(first));}let [chord] = chords else { return None };if chord.is_duplicate_modifier_case() {return None;}- Some(chord.with_modifiers(["Ctrl", "Shift", "Alt", "Cmd"], "+", electron_key(chord.key)?))+ let meta = if os == Os::Macintosh { "Cmd" } else { "Super" };+ Some(chord.with_modifiers(["Ctrl", "Shift", "Alt", meta], "+", electron_key(chord.key)?))}/// `KeyCodeUtils.toElectronAccelerator`: none for numpad keys, Electron's names for the arrows and Delete.@@ -623,10 +685,16 @@ fn rule_item(rule: &Value, key: &str, is_default: bool) -> Option<Item> {Some(Item { system_wide, source_key, when_text, ..Item::new(parse_keybinding(key), command, rule.get("args").cloned(), when, is_default) })}-/// The macOS default keybindings of the workbench: the reference's own `--export-default-keybindings` output-/// without the built-in extensions' rows, which come from `contributes.keybindings` here. Rows without a-/// weight sort below every extension rule (weights under 300); the rest carry their `KeybindingWeight`.-const DEFAULT_KEYBINDINGS: &str = include_str!("keybindings/default-macos.json");+/// The workbench's default keybindings on `os`: the reference's own `--export-default-keybindings` output without the+/// built-in extensions' rows, which come from `contributes.keybindings` here (port/tools/default-keybindings). Rows+/// without a weight sort below every extension rule (weights under 300); the rest carry their `KeybindingWeight`.+fn default_table(os: Os) -> &'static str {+ match os {+ Os::Windows => include_str!("keybindings/default-win.json"),+ // shortcut: Linux has the macOS table until M23 adds default-linux.json (M23 row app/src/keybindings.rs:86).+ Os::Macintosh | Os::Linux => include_str!("keybindings/default-macos.json"),+ }+}struct Weighted {weight: u64,@@ -634,10 +702,14 @@ struct Weighted {item: Item,}-/// `KeybindingsRegistry.getDefaultKeybindings()` plus the extensions' `contributes.keybindings`, sorted as upstream's-/// `sorter`: by weight, then command, then registration order.pub fn default_keybindings(extensions: &[ScannedExtension]) -> Vec<Item> {- let rows: Vec<Value> = serde_json::from_str(DEFAULT_KEYBINDINGS).expect("the bundled default keybindings are JSON");+ default_keybindings_in(OS, extensions)+}++/// `KeybindingsRegistry.getDefaultKeybindings()` plus the extensions' `contributes.keybindings` on `os`, sorted as+/// upstream's `sorter`: by weight, then command, then registration order.+pub fn default_keybindings_in(os: Os, extensions: &[ScannedExtension]) -> Vec<Item> {+ let rows: Vec<Value> = serde_json::from_str(default_table(os)).expect("the bundled default keybindings are JSON");let mut items = Vec::new();let mut weighted = Vec::new();for row in &rows {@@ -649,7 +721,7 @@ pub fn default_keybindings(extensions: &[ScannedExtension]) -> Vec<Item> {}let enablements = command_enablements(extensions);for extension in extensions {- weighted.extend(extension_keybindings(extension, &enablements).into_iter().map(|(weight, item)| Weighted { weight, order: 0, item }));+ weighted.extend(extension_keybindings(os, extension, &enablements).into_iter().map(|(weight, item)| Weighted { weight, order: 0, item }));}weighted.sort_by(|a, b| a.weight.cmp(&b.weight).then_with(|| a.item.command.cmp(&b.item.command)).then(a.order.cmp(&b.order)));items.extend(weighted.into_iter().map(|weighted| weighted.item));@@ -659,18 +731,24 @@ pub fn default_keybindings(extensions: &[ScannedExtension]) -> Vec<Item> {/// keybindingsExport.contribution.ts `_getDefaultKeybindingsContentForOS` on macOS: the core rows in registry order, then/// each built-in extension's rules in their own order, unsorted.pub fn exported_default_keybindings(extensions: &[ScannedExtension]) -> Vec<Item> {- let rows: Vec<Value> = serde_json::from_str(DEFAULT_KEYBINDINGS).expect("the bundled default keybindings are JSON");+ let rows: Vec<Value> = serde_json::from_str(default_table(Os::Macintosh)).expect("the bundled default keybindings are JSON");let mut items: Vec<Item> = rows.iter().map(|row| rule_item(row, row["key"].as_str().expect("every default row has a key"), true).expect("every default row has a command")).collect();let enablements = command_enablements(extensions);for extension in extensions.iter().filter(|extension| extension.description["isBuiltin"] == true) {- items.extend(extension_keybindings(extension, &enablements).into_iter().map(|(_, item)| item));+ items.extend(extension_keybindings(Os::Macintosh, extension, &enablements).into_iter().map(|(_, item)| item));}items}-/// `WorkbenchKeybindingService._asCommandRule`: the macOS key (`mac`, else `key`), a weight of 300 (built-in)-/// or 400 (external) plus the rule's 1-based index, and the command's `enablement` joined to its `when`.-fn extension_keybindings(extension: &ScannedExtension, enablements: &HashMap<&str, Expr>) -> Vec<(u64, Item)> {+/// `WorkbenchKeybindingService._asCommandRule`: the key of `os` (`bindToCurrentPlatform`: `mac`, `win` or `linux`, else+/// `key`), a weight of 300 (built-in) or 400 (external) plus the rule's 1-based index, and the command's `enablement`+/// joined to its `when`.+fn extension_keybindings(os: Os, extension: &ScannedExtension, enablements: &HashMap<&str, Expr>) -> Vec<(u64, Item)> {+ let platform_key = match os {+ Os::Macintosh => "mac",+ Os::Windows => "win",+ Os::Linux => "linux",+ };let rules = match extension.description["contributes"].get("keybindings") {None => return Vec::new(),Some(Value::Array(rules)) => rules.iter().collect(),@@ -684,7 +762,8 @@ fn extension_keybindings(extension: &ScannedExtension, enablements: &HashMap<&stcrate::perf::extension_point_message(&extension.id, crate::notifications::Severity::Error, format!("Invalid `contributes.keybindings`: {reject}"));continue;}- let Some(key) = rule.get("mac").or_else(|| rule.get("key")).and_then(Value::as_str) else { continue };+ let platform = rule.get(platform_key).and_then(Value::as_str).filter(|key| !key.is_empty());+ let Some(key) = platform.or_else(|| rule.get("key").and_then(Value::as_str)) else { continue };let Some(command) = rule.get("command").and_then(Value::as_str) else { continue };let when = rule.get("when").and_then(Value::as_str).and_then(Expr::deserialize);let when = match (when, enablements.get(command).cloned()) {diff --git a/native/crates/app/src/keybindings/default-win.json b/native/crates/app/src/keybindings/default-win.jsonnew file mode 100644index 00000000000..1b0846d0efe--- /dev/null+++ b/native/crates/app/src/keybindings/default-win.json@@ -0,0 +1,1155 @@+[+{"key":"escape escape","command":"workbench.action.exitZenMode","when":"inZenMode"},+{"key":"shift+escape","command":"closeReferenceSearch","when":"inReferenceSearchEditor && !config.editor.stablePeek"},+{"key":"escape","command":"closeReferenceSearch","when":"inReferenceSearchEditor && !config.editor.stablePeek"},+{"key":"shift+escape","command":"editor.action.inlineSuggest.hide","when":"inInlineEditsPreviewEditor"},+{"key":"escape","command":"editor.action.inlineSuggest.hide","when":"inInlineEditsPreviewEditor"},+{"key":"escape","command":"editor.closeTestPeek","when":"testing.isInPeek && !config.editor.stablePeek || testing.isPeekVisible && !config.editor.stablePeek"},+{"key":"shift+escape","command":"cancelSelection","when":"editorHasSelection && textInputFocus"},+{"key":"escape","command":"cancelSelection","when":"editorHasSelection && textInputFocus"},+{"key":"ctrl+end","command":"cursorBottom","when":"textInputFocus"},+{"key":"ctrl+shift+end","command":"cursorBottomSelect","when":"textInputFocus"},+{"key":"ctrl+shift+alt+down","command":"cursorColumnSelectDown","when":"textInputFocus"},+{"key":"ctrl+shift+alt+left","command":"cursorColumnSelectLeft","when":"textInputFocus"},+{"key":"ctrl+shift+alt+pagedown","command":"cursorColumnSelectPageDown","when":"textInputFocus"},+{"key":"ctrl+shift+alt+pageup","command":"cursorColumnSelectPageUp","when":"textInputFocus"},+{"key":"ctrl+shift+alt+right","command":"cursorColumnSelectRight","when":"textInputFocus"},+{"key":"ctrl+shift+alt+up","command":"cursorColumnSelectUp","when":"textInputFocus"},+{"key":"down","command":"cursorDown","when":"textInputFocus"},+{"key":"ctrl+shift+down","command":"cursorDownSelect","when":"textInputFocus"},+{"key":"shift+down","command":"cursorDownSelect","when":"textInputFocus"},+{"key":"end","command":"cursorEnd","when":"textInputFocus","args":{"sticky":false}},+{"key":"shift+end","command":"cursorEndSelect","when":"textInputFocus","args":{"sticky":false}},+{"key":"home","command":"cursorHome","when":"textInputFocus"},+{"key":"shift+home","command":"cursorHomeSelect","when":"textInputFocus"},+{"key":"left","command":"cursorLeft","when":"textInputFocus"},+{"key":"shift+left","command":"cursorLeftSelect","when":"textInputFocus"},+{"key":"pagedown","command":"cursorPageDown","when":"textInputFocus"},+{"key":"shift+pagedown","command":"cursorPageDownSelect","when":"textInputFocus"},+{"key":"pageup","command":"cursorPageUp","when":"textInputFocus"},+{"key":"shift+pageup","command":"cursorPageUpSelect","when":"textInputFocus"},+{"key":"right","command":"cursorRight","when":"textInputFocus"},+{"key":"shift+right","command":"cursorRightSelect","when":"textInputFocus"},+{"key":"ctrl+home","command":"cursorTop","when":"textInputFocus"},+{"key":"ctrl+shift+home","command":"cursorTopSelect","when":"textInputFocus"},+{"key":"up","command":"cursorUp","when":"textInputFocus"},+{"key":"ctrl+shift+up","command":"cursorUpSelect","when":"textInputFocus"},+{"key":"shift+up","command":"cursorUpSelect","when":"textInputFocus"},+{"key":"shift+backspace","command":"deleteLeft","when":"textInputFocus"},+{"key":"backspace","command":"deleteLeft","when":"textInputFocus"},+{"key":"delete","command":"deleteRight","when":"textInputFocus"},+{"key":"ctrl+a","command":"editor.action.selectAll"},+{"key":"ctrl+c","command":"execCopy"},+{"key":"ctrl+x","command":"execCut"},+{"key":"ctrl+v","command":"execPaste"},+{"key":"ctrl+l","command":"expandLineSelection","when":"textInputFocus"},+{"key":"shift+tab","command":"outdent","when":"editorTextFocus && !editorReadonly && !editorTabMovesFocus"},+{"key":"ctrl+shift+z","command":"redo"},+{"key":"ctrl+y","command":"redo"},+{"key":"ctrl+down","command":"scrollLineDown","when":"textInputFocus"},+{"key":"ctrl+up","command":"scrollLineUp","when":"textInputFocus"},+{"key":"alt+pagedown","command":"scrollPageDown","when":"textInputFocus"},+{"key":"alt+pageup","command":"scrollPageUp","when":"textInputFocus"},+{"key":"tab","command":"tab","when":"editorTextFocus && !editorReadonly && !editorTabMovesFocus"},+{"key":"ctrl+z","command":"undo"},+{"key":"ctrl+k ctrl+i","command":"workbench.action.showHover"},+{"key":"shift+down","command":"cursorColumnSelectDown","when":"editorColumnSelection && textInputFocus"},+{"key":"shift+left","command":"cursorColumnSelectLeft","when":"editorColumnSelection && textInputFocus"},+{"key":"shift+pagedown","command":"cursorColumnSelectPageDown","when":"editorColumnSelection && textInputFocus"},+{"key":"shift+pageup","command":"cursorColumnSelectPageUp","when":"editorColumnSelection && textInputFocus"},+{"key":"shift+right","command":"cursorColumnSelectRight","when":"editorColumnSelection && textInputFocus"},+{"key":"shift+up","command":"cursorColumnSelectUp","when":"editorColumnSelection && textInputFocus"},+{"key":"shift+escape","command":"removeSecondaryCursors","when":"editorHasMultipleSelections && textInputFocus"},+{"key":"escape","command":"removeSecondaryCursors","when":"editorHasMultipleSelections && textInputFocus"},+{"key":"ctrl+down","command":"inlineChat.focus","when":"editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'"},+{"key":"ctrl+up","command":"inlineChat.focus","when":"editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'"},+{"key":"escape","command":"editor.action.hideEmptyEditorHint","when":"editorTextFocus && emptyEditorHintActionsVisible && !editorHasMultipleSelections && !editorHasSelection"},+{"key":"f12","command":"goToNextReference","when":"inReferenceSearchEditor || referenceSearchVisible"},+{"key":"f4","command":"goToNextReference","when":"inReferenceSearchEditor || referenceSearchVisible"},+{"key":"shift+f12","command":"goToPreviousReference","when":"inReferenceSearchEditor || referenceSearchVisible"},+{"key":"shift+f4","command":"goToPreviousReference","when":"inReferenceSearchEditor || referenceSearchVisible"},+{"key":"ctrl+enter","command":"refactorPreview.apply","when":"refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'"},+{"key":"alt+enter","command":"testing.editFocusedTest","when":"focusedView == 'workbench.view.testing'"},+{"key":"escape","command":"agentsVoice.cancelActiveRequest","when":"agentsVoiceConnected && agentsVoiceEntitled && chatIsEnabled && chatSessionHasActiveRequest && config.agents.voice.enabled && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || agentsVoiceConnected && chatIsEnabled && chatSessionHasActiveRequest && config.agents.voice.enabled && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/"},+{"key":"escape","command":"agentsVoice.disconnect","when":"agentsVoiceConnected && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || agentsVoiceConnected && agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow || agentsVoiceConnected && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnecting && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || agentsVoiceConnecting && agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow || agentsVoiceConnecting && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnecting && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceConnecting && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || agentsVoiceConnected && agentsVoiceConnecting && agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow || agentsVoiceConnected && agentsVoiceConnecting && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceConnecting && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnecting && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnecting && agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceConnecting && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceConnecting && agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSessionHasActiveRequest && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/"},+{"key":"escape","command":"notebook.cell.quitEdit","when":"inputFocus && notebookEditorFocused && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !inlineChatFocused"},+{"key":"ctrl+alt+enter","command":"notebook.cell.quitEdit","when":"inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'"},+{"key":"escape","command":"workbench.edit.chat.cancel","when":"chatSessionCurrentlyEditing && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || chatSessionCurrentlyEditingInput && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible"},+{"key":"escape","command":"workbench.action.closeModalEditor","when":"editorFocus && editorPartModal"},+{"key":"ctrl+f","command":"actions.find","when":"editorFocus || editorIsOpen"},+{"key":"enter","command":"breakpointWidget.action.acceptInput","when":"breakpointWidgetVisible && inBreakpointWidget"},+{"key":"ctrl+up","command":"chat.action.focus","when":"chatCursorAtTop && inChatInput && !quickChatHasFocus"},+{"key":"ctrl+up","command":"chat.action.focus","when":"inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus"},+{"key":"escape","command":"chat.models.action.clearSearchResults","when":"inModelsEditor && inModelsSearch"},+{"key":"shift+escape","command":"closeBreakpointWidget","when":"breakpointWidgetVisible && textInputFocus"},+{"key":"escape","command":"closeBreakpointWidget","when":"breakpointWidgetVisible && textInputFocus"},+{"key":"ctrl+u","command":"cursorUndo","when":"textInputFocus"},+{"key":"ctrl+right","command":"cursorWordEndRight","when":"textInputFocus"},+{"key":"ctrl+shift+right","command":"cursorWordEndRightSelect","when":"textInputFocus"},+{"key":"ctrl+left","command":"cursorWordLeft","when":"textInputFocus"},+{"key":"ctrl+shift+left","command":"cursorWordLeftSelect","when":"textInputFocus"},+{"key":"ctrl+backspace","command":"deleteWordLeft","when":"textInputFocus && !editorReadonly"},+{"key":"ctrl+delete","command":"deleteWordRight","when":"textInputFocus && !editorReadonly"},+{"key":"f7","command":"editor.action.accessibleDiffViewer.next","when":"isInDiffEditor"},+{"key":"shift+f7","command":"editor.action.accessibleDiffViewer.prev","when":"isInDiffEditor"},+{"key":"ctrl+k ctrl+c","command":"editor.action.addCommentLine","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+d","command":"editor.action.addSelectionToNextFindMatch","when":"editorFocus"},+{"key":"shift+alt+.","command":"editor.action.autoFix","when":"textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"},+{"key":"shift+alt+a","command":"editor.action.blockComment","when":"editorTextFocus && !editorReadonly"},+{"key":"escape","command":"editor.action.cancelSelectionAnchor","when":"editorTextFocus && selectionAnchorSet"},+{"key":"ctrl+f2","command":"editor.action.changeAll","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+insert","command":"editor.action.clipboardCopyAction"},+{"key":"ctrl+c","command":"editor.action.clipboardCopyAction"},+{"key":"shift+delete","command":"editor.action.clipboardCutAction"},+{"key":"ctrl+x","command":"editor.action.clipboardCutAction"},+{"key":"shift+insert","command":"editor.action.clipboardPasteAction"},+{"key":"ctrl+v","command":"editor.action.clipboardPasteAction"},+{"key":"ctrl+/","command":"editor.action.commentLine","when":"editorTextFocus && !editorReadonly"},+{"key":"shift+alt+down","command":"editor.action.copyLinesDownAction","when":"editorTextFocus && !editorReadonly"},+{"key":"shift+alt+up","command":"editor.action.copyLinesUpAction","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+shift+k","command":"editor.action.deleteLines","when":"textInputFocus && !editorReadonly"},+{"key":"alt+f3","command":"editor.action.dirtydiff.next","when":"editorTextFocus && !textCompareEditorActive"},+{"key":"shift+alt+f3","command":"editor.action.dirtydiff.previous","when":"editorTextFocus && !textCompareEditorActive"},+{"key":"enter","command":"editor.action.extensioneditor.findNext","when":"webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'"},+{"key":"shift+enter","command":"editor.action.extensioneditor.findPrevious","when":"webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'"},+{"key":"ctrl+f","command":"editor.action.extensioneditor.showfind","when":"!editorFocus && activeEditor == 'workbench.editor.extension'"},+{"key":"shift+alt+f","command":"editor.action.formatDocument","when":"editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"},+{"key":"shift+alt+f","command":"editor.action.formatDocument.none","when":"editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"},+{"key":"ctrl+k ctrl+f","command":"editor.action.formatSelection","when":"editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"},+{"key":"ctrl+down","command":"editor.action.goToBottomHover","when":"editorHoverFocused"},+{"key":"end","command":"editor.action.goToBottomHover","when":"editorHoverFocused"},+{"key":"enter","command":"editor.action.goToFocusedStickyScrollLine","when":"stickyScrollFocused"},+{"key":"ctrl+f12","command":"editor.action.goToImplementation","when":"editorHasImplementationProvider && editorTextFocus"},+{"key":"shift+f12","command":"editor.action.goToReferences","when":"editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"},+{"key":"ctrl+up","command":"editor.action.goToTopHover","when":"editorHoverFocused"},+{"key":"home","command":"editor.action.goToTopHover","when":"editorHoverFocused"},+{"key":"escape","command":"editor.action.hideColorPicker","when":"standaloneColorPickerVisible"},+{"key":"ctrl+shift+.","command":"editor.action.inPlaceReplace.down","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+shift+,","command":"editor.action.inPlaceReplace.up","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+]","command":"editor.action.indentLines","when":"editorTextFocus && !editorReadonly"},+{"key":"alt+]","command":"editor.action.inlineSuggest.showNext","when":"inlineSuggestionVisible && !editorReadonly"},+{"key":"alt+[","command":"editor.action.inlineSuggest.showPrevious","when":"inlineSuggestionVisible && !editorReadonly"},+{"key":"enter","command":"editor.action.insertColorWithStandaloneColorPicker","when":"standaloneColorPickerFocused"},+{"key":"ctrl+alt+up","command":"editor.action.insertCursorAbove","when":"editorTextFocus"},+{"key":"shift+alt+i","command":"editor.action.insertCursorAtEndOfEachLineSelected","when":"editorTextFocus"},+{"key":"ctrl+alt+down","command":"editor.action.insertCursorBelow","when":"editorTextFocus"},+{"key":"ctrl+enter","command":"editor.action.insertLineAfter","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+shift+enter","command":"editor.action.insertLineBefore","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+shift+\\","command":"editor.action.jumpToBracket","when":"editorTextFocus"},+{"key":"ctrl+shift+f2","command":"editor.action.linkedEditing","when":"editorHasRenameProvider && editorTextFocus && !editorReadonly"},+{"key":"alt+f8","command":"editor.action.marker.next","when":"editorFocus"},+{"key":"f8","command":"editor.action.marker.nextInFiles","when":"editorFocus"},+{"key":"shift+alt+f8","command":"editor.action.marker.prev","when":"editorFocus"},+{"key":"shift+f8","command":"editor.action.marker.prevInFiles","when":"editorFocus"},+{"key":"alt+down","command":"editor.action.moveLinesDownAction","when":"editorTextFocus && !editorReadonly"},+{"key":"alt+up","command":"editor.action.moveLinesUpAction","when":"editorTextFocus && !editorReadonly"},+{"key":"ctrl+k ctrl+d","command":"editor.action.moveSelectionToNextFindMatch","when":"editorFocus"},+{"key":"alt+f9","command":"editor.action.nextCommentThreadAction"},+{"key":"alt+f10","command":"editor.action.nextCommentedRangeAction","when":"activeEditorHasCommentingRange"},+{"key":"ctrl+k ctrl+alt+down","command":"editor.action.nextCommentingRange","when":"accessibilityModeEnabled && commentFocused || accessibilityModeEnabled && editorFocus || accessibilityHelpIsShown && accessibilityModeEnabled && accessibleViewCurrentProviderId == 'comments'"},+{"key":"f3","command":"editor.action.nextMatchFindAction","when":"editorFocus"},+{"key":"enter","command":"editor.action.nextMatchFindAction","when":"editorFocus && findInputFocussed"},+{"key":"ctrl+f3","command":"editor.action.nextSelectionMatchFindAction","when":"editorFocus"},+{"key":"shift+alt+o","command":"editor.action.organizeImports","when":"textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"},+{"key":"ctrl+[","command":"editor.action.outdentLines","when":"editorTextFocus && !editorReadonly"},+{"key":"alt+down","command":"editor.action.pageDownHover","when":"editorHoverFocused"},+{"key":"pagedown","command":"editor.action.pageDownHover","when":"editorHoverFocused"},+{"key":"alt+up","command":"editor.action.pageUpHover","when":"editorHoverFocused"},+{"key":"pageup","command":"editor.action.pageUpHover","when":"editorHoverFocused"},+{"key":"alt+f12","command":"editor.action.peekDefinition","when":"editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"},+{"key":"ctrl+shift+f12","command":"editor.action.peekImplementation","when":"editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"},+{"key":"shift+alt+f9","command":"editor.action.previousCommentThreadAction"},+{"key":"shift+alt+f10","command":"editor.action.previousCommentedRangeAction","when":"activeEditorHasCommentingRange"},+{"key":"ctrl+k ctrl+alt+up","command":"editor.action.previousCommentingRange","when":"accessibilityModeEnabled && commentFocused || accessibilityModeEnabled && editorFocus || accessibilityHelpIsShown && accessibilityModeEnabled && accessibleViewCurrentProviderId == 'comments'"},+{"key":"shift+f3","command":"editor.action.previousMatchFindAction","when":"editorFocus"},+{"key":"shift+enter","command":"editor.action.previousMatchFindAction","when":"editorFocus && findInputFocussed"},+{"key":"ctrl+shift+f3","command":"editor.action.previousSelectionMatchFindAction","when":"editorFocus"},+{"key":"ctrl+.","command":"editor.action.quickFix","when":"editorHasCodeActionsProvider && textInputFocus && !editorReadonly"},+{"key":"ctrl+shift+r","command":"editor.action.refactor","when":"editorHasCodeActionsProvider && textInputFocus && !editorReadonly"},+{"key":"ctrl+alt+backspace","command":"editor.action.removeBrackets","when":"editorTextFocus"},+{"key":"ctrl+k ctrl+u","command":"editor.action.removeCommentLine","when":"editorTextFocus && !editorReadonly"},+{"key":"f2","command":"editor.action.rename","when":"editorHasRenameProvider && editorTextFocus && !editorReadonly"},+{"key":"f12","command":"editor.action.revealDefinition","when":"editorHasDefinitionProvider && editorTextFocus"},+{"key":"ctrl+f12","command":"editor.action.revealDefinition","when":"editorHasDefinitionProvider && editorTextFocus && isWeb"},+{"key":"ctrl+k f12","command":"editor.action.revealDefinitionAside","when":"editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"},+{"key":"ctrl+k ctrl+f12","command":"editor.action.revealDefinitionAside","when":"editorHasDefinitionProvider && editorTextFocus && isWeb && !isInEmbeddedEditor"},+{"key":"down","command":"editor.action.scrollDownHover","when":"editorHoverFocused"},+{"key":"left","command":"editor.action.scrollLeftHover","when":"editorHoverFocused"},+{"key":"right","command":"editor.action.scrollRightHover","when":"editorHoverFocused"},+{"key":"up","command":"editor.action.scrollUpHover","when":"editorHoverFocused"},+{"key":"escape","command":"editor.action.selectEditor","when":"stickyScrollFocused"},+{"key":"ctrl+k ctrl+k","command":"editor.action.selectFromAnchorToCursor","when":"editorTextFocus && selectionAnchorSet"},+{"key":"ctrl+shift+l","command":"editor.action.selectHighlights","when":"editorFocus"},+{"key":"down","command":"editor.action.selectNextStickyScrollLine","when":"stickyScrollFocused"},+{"key":"up","command":"editor.action.selectPreviousStickyScrollLine","when":"stickyScrollFocused"},+{"key":"ctrl+k ctrl+b","command":"editor.action.setSelectionAnchor","when":"editorTextFocus"},+{"key":"shift+f10","command":"editor.action.showContextMenu","when":"textInputFocus"},+{"key":"ctrl+k ctrl+i","command":"editor.action.showHover","when":"editorTextFocus"},+{"key":"shift+alt+right","command":"editor.action.smartSelect.expand","when":"editorTextFocus"},+{"key":"shift+alt+left","command":"editor.action.smartSelect.shrink","when":"editorTextFocus"},+{"key":"ctrl+h","command":"editor.action.startFindReplaceAction","when":"editorFocus || editorIsOpen"},+{"key":"ctrl+enter","command":"editor.action.submitComment","when":"commentEditorFocused"},+{"key":"ctrl+m","command":"editor.action.toggleTabFocusMode"},+{"key":"alt+z","command":"editor.action.toggleWordWrap"},+{"key":"ctrl+shift+space","command":"editor.action.triggerParameterHints","when":"editorHasSignatureHelpProvider && editorTextFocus"},+{"key":"ctrl+i","command":"editor.action.triggerSuggest","when":"editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"},+{"key":"ctrl+space","command":"editor.action.triggerSuggest","when":"editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"},+{"key":"ctrl+k ctrl+x","command":"editor.action.trimTrailingWhitespace","when":"editorTextFocus && !editorReadonly"},+{"key":"enter","command":"editor.action.webvieweditor.findNext","when":"webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'"},+{"key":"shift+enter","command":"editor.action.webvieweditor.findPrevious","when":"webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'"},+{"key":"escape","command":"editor.action.webvieweditor.hideFind","when":"webviewFindWidgetVisible && !editorFocus && activeEditor == 'WebviewEditor'"},+{"key":"ctrl+f","command":"editor.action.webvieweditor.showFind","when":"webviewFindWidgetEnabled && !editorFocus && activeEditor == 'WebviewEditor'"},+{"key":"f7","command":"editor.action.wordHighlight.next","when":"editorTextFocus && hasWordHighlights"},+{"key":"shift+f7","command":"editor.action.wordHighlight.prev","when":"editorTextFocus && hasWordHighlights"},+{"key":"escape","command":"editor.cancelOperation","when":"cancellableOperation"},+{"key":"ctrl+.","command":"editor.changeDropType","when":"dropWidgetVisible"},+{"key":"ctrl+.","command":"editor.changePasteType","when":"pasteWidgetVisible"},+{"key":"ctrl+k ctrl+,","command":"editor.createFoldingRangeFromSelection","when":"editorTextFocus && foldingEnabled"},+{"key":"escape","command":"editor.debug.action.closeExceptionWidget","when":"exceptionWidgetVisible"},+{"key":"ctrl+k ctrl+i","command":"editor.debug.action.showDebugHover","when":"editorTextFocus && inDebugMode"},+{"key":"f9","command":"editor.debug.action.toggleBreakpoint","when":"debuggersAvailable && disassemblyViewFocus || debuggersAvailable && editorTextFocus"},+{"key":"tab","command":"editor.emmet.action.expandAbbreviation","when":"config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"},+{"key":"ctrl+shift+[","command":"editor.fold","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+0","command":"editor.foldAll","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+/","command":"editor.foldAllBlockComments","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+-","command":"editor.foldAllExcept","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+8","command":"editor.foldAllMarkerRegions","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+1","command":"editor.foldLevel1","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+2","command":"editor.foldLevel2","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+3","command":"editor.foldLevel3","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+4","command":"editor.foldLevel4","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+5","command":"editor.foldLevel5","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+6","command":"editor.foldLevel6","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+7","command":"editor.foldLevel7","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+[","command":"editor.foldRecursively","when":"editorTextFocus && foldingEnabled"},+{"key":"f12","command":"editor.gotoNextSymbolFromResult","when":"hasSymbols"},+{"key":"escape","command":"editor.gotoNextSymbolFromResult.cancel","when":"hasSymbols"},+{"key":"escape","command":"editor.hideDropWidget","when":"dropWidgetVisible"},+{"key":"escape","command":"editor.hidePasteWidget","when":"pasteWidgetVisible"},+{"key":"ctrl+k ctrl+.","command":"editor.removeManualFoldingRanges","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+l","command":"editor.toggleFold","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+shift+l","command":"editor.toggleFoldRecursively","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+shift+]","command":"editor.unfold","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+j","command":"editor.unfoldAll","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+=","command":"editor.unfoldAllExcept","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+9","command":"editor.unfoldAllMarkerRegions","when":"editorTextFocus && foldingEnabled"},+{"key":"ctrl+k ctrl+]","command":"editor.unfoldRecursively","when":"editorTextFocus && foldingEnabled"},+{"key":"escape","command":"inlayHints.stopReadingLineWithHint","when":"isReadingLineWithInlayHints"},+{"key":"escape","command":"inlineChat.dismissEditorAffordance","when":"editorTextFocus && inlineChatAffordanceVisible && config.inlineChat.affordance == 'editor'"},+{"key":"tab","command":"insertSnippet","when":"editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode"},+{"key":"ctrl+enter","command":"interactive.execute","when":"isCompositeNotebook && activeEditor == 'workbench.editor.interactive'"},+{"key":"shift+enter","command":"interactive.execute","when":"config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.interactive'"},+{"key":"enter","command":"interactive.execute","when":"isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'"},+{"key":"ctrl+enter","command":"mergeEditor.acceptMerge","when":"isMergeEditor"},+{"key":"alt+f5","command":"multiDiffEditor.goToNextChange","when":"activeEditor == 'multiDiffEditor'"},+{"key":"shift+alt+f5","command":"multiDiffEditor.goToPreviousChange","when":"activeEditor == 'multiDiffEditor'"},+{"key":"pagedown","command":"notebook.cell.cursorPageDown","when":"editorTextFocus && inputFocus && notebookEditorFocused"},+{"key":"shift+pagedown","command":"notebook.cell.cursorPageDownSelect","when":"editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused"},+{"key":"pageup","command":"notebook.cell.cursorPageUp","when":"editorTextFocus && inputFocus && notebookEditorFocused"},+{"key":"shift+pageup","command":"notebook.cell.cursorPageUpSelect","when":"editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused"},+{"key":"ctrl+alt+enter","command":"notebook.cell.execute","when":"notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0"},+{"key":"alt+enter","command":"notebook.cell.executeAndInsertBelow","when":"notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0"},+{"key":"shift+enter","command":"notebook.cell.executeAndSelectBelow","when":"notebookCellListFocused && !inlineChatFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0"},+{"key":"ctrl+shift+v","command":"notebook.cell.pasteAbove","when":"notebookEditorFocused && !inputFocus"},+{"key":"down","command":"notebook.focusNextEditor","when":"config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'both' && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top' || config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'end' && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'"},+{"key":"up","command":"notebook.focusPreviousEditor","when":"config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'both' && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none' || config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'start' && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'"},+{"key":"shift+alt+f","command":"notebook.formatCell","when":"editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+enter","command":"openReferenceToSide","when":"listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused"},+{"key":"enter","command":"repl.action.acceptInput","when":"inDebugRepl && textInputFocus"},+{"key":"ctrl+f","command":"repl.action.filter","when":"inDebugRepl && textInputFocus"},+{"key":"ctrl+alt+f","command":"repl.action.find","when":"inDebugRepl || inDebugRepl && focusedView == 'workbench.panel.repl.view'"},+{"key":"ctrl+enter","command":"repl.execute","when":"isCompositeNotebook && !notebookCellListFocused && activeEditor == 'workbench.editor.repl'"},+{"key":"shift+enter","command":"repl.execute","when":"config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && !notebookCellListFocused && activeEditor == 'workbench.editor.repl'"},+{"key":"enter","command":"repl.execute","when":"isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && !notebookCellListFocused && activeEditor == 'workbench.editor.repl'"},+{"key":"alt+end alt+end","command":"repl.focusLastItemExecuted","when":"isCompositeNotebook && mostRecentReplEditor || mostRecentReplEditor && !notebookCellListFocused"},+{"key":"ctrl+down","command":"repl.input.focus","when":"isCompositeNotebook && notebookEditorFocused"},+{"key":"ctrl+shift+r","command":"rerunSearchEditorSearch","when":"inSearchEditor"},+{"key":"escape","command":"search.action.focusQueryEditorWidget","when":"inSearchEditor"},+{"key":"ctrl+shift+backspace","command":"search.searchEditor.action.deleteFileResults","when":"inSearchEditor"},+{"key":"escape","command":"settings.action.clearSearchResults","when":"inSettingsEditor && inSettingsSearch"},+{"key":"ctrl+f","command":"settings.action.search","when":"inSettingsEditor"},+{"key":"ctrl+i","command":"settings.action.toggleAiSearch","when":"aiSettingResultsAvailable && inSettingsEditor"},+{"key":"alt+f9","command":"testing.coverage.goToNextMissedLine","when":"activeEditor && testing.hasCoverageInFile"},+{"key":"shift+alt+f9","command":"testing.coverage.goToPreviousMissedLine","when":"activeEditor && testing.hasCoverageInFile"},+{"key":"ctrl+/","command":"toggleExplainMode","when":"suggestWidgetVisible"},+{"key":"ctrl+k f2","command":"togglePeekWidgetFocus","when":"inReferenceSearchEditor || referenceSearchVisible"},+{"key":"ctrl+k f2","command":"toggleQuickDiffWidgetFocus","when":"dirtyDiffVisible"},+{"key":"escape","command":"welcome.goBack","when":"inWelcome && activeEditor == 'gettingStartedPage'"},+{"key":"ctrl+k ctrl+alt+c","command":"workbench.action.addComment","when":"activeCursorHasCommentingRange"},+{"key":"enter","command":"workbench.action.browser.findNext","when":"browserFindWidgetFocused && activeEditor == 'workbench.editor.browser'"},+{"key":"f3","command":"workbench.action.browser.findNext","when":"browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'"},+{"key":"shift+enter","command":"workbench.action.browser.findPrevious","when":"browserFindWidgetFocused && activeEditor == 'workbench.editor.browser'"},+{"key":"shift+f3","command":"workbench.action.browser.findPrevious","when":"browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+f","command":"workbench.action.browser.showFind","when":"browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+/","command":"workbench.action.chat.attachContext","when":"inChatInput && !chatTranscriptProgressActive && chatLocation == 'panel'"},+{"key":"ctrl+.","command":"workbench.action.chat.openModePicker","when":"chatIsEnabled && inChatInput && !dropWidgetVisible && !pasteWidgetVisible && chatLocation == 'panel'"},+{"key":"ctrl+alt+enter","command":"workbench.action.chat.runInTerminal","when":"accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat"},+{"key":"enter","command":"workbench.action.chat.submit","when":"chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputBlocked && !chatSessionRequestInProgress && !chatTranscriptProgressActive && !editorHoverFocused && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && !withinEditSessionDiff && chatEditingSentRequest == 's'"},+{"key":"ctrl+enter","command":"workbench.action.chat.submitWithCodebase","when":"chatInputHasText && inChatInput && !chatSessionRequestInProgress && !chatTranscriptProgressActive"},+{"key":"shift+alt+enter","command":"workbench.action.chat.submitWithoutDispatching","when":"chatInputHasText && inChatInput && !chatSessionRequestInProgress && !chatTranscriptProgressActive && chatAgentKind == 'ask'"},+{"key":"alt+f5","command":"workbench.action.editor.nextChange","when":"editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'"},+{"key":"shift+alt+f5","command":"workbench.action.editor.previousChange","when":"editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'"},+{"key":"shift+escape","command":"workbench.action.hideComment","when":"commentEditorFocused || commentFocused"},+{"key":"escape","command":"workbench.action.hideComment","when":"commentEditorFocused || commentFocused"},+{"key":"alt+backspace","command":"workbench.action.hideComment","when":"commentWidgetVisible && editorFocus"},+{"key":"ctrl+right","command":"editor.action.inlineSuggest.acceptNextWord","when":"cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly"},+{"key":"alt+f8","command":"testing.goToNextMessage","when":"editorFocus && testing.isPeekVisible"},+{"key":"shift+alt+f8","command":"testing.goToPreviousMessage","when":"editorFocus && testing.isPeekVisible"},+{"key":"alt+enter","command":"workbench.action.chat.queueMessage","when":"chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && chatEditingSentRequest == 'st' || chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && config.chat.requestQueuing.defaultAction == 'steer' && chatEditingSentRequest != 'q' && chatEditingSentRequest != 'st'"},+{"key":"enter","command":"workbench.action.chat.queueMessage","when":"chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest == 'q' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest == 'q' && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest == 'q' && chatEditingSentRequest == 'st' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest != 'q' && chatEditingSentRequest != 's' && chatEditingSentRequest != 'st' && config.chat.requestQueuing.defaultAction != 'steer'"},+{"key":"enter","command":"workbench.action.chat.steerWithMessage","when":"chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest == 'st' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest == 'st' && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && chatEditingSentRequest == 'q' && chatEditingSentRequest == 'st' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && !editorHoverFocused && config.chat.requestQueuing.defaultAction == 'steer' && chatEditingSentRequest != 'q' && chatEditingSentRequest != 's' && chatEditingSentRequest != 'st'"},+{"key":"alt+enter","command":"workbench.action.chat.steerWithMessage","when":"chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && chatEditingSentRequest == 'q' || chatInputHasText && inChatInput && !chatInputBlocked && !chatTranscriptProgressActive && chatEditingSentRequest != 'q' && chatEditingSentRequest != 'st' && config.chat.requestQueuing.defaultAction != 'steer'"},+{"key":"ctrl+shift+up","command":"workbench.chat.action.focusLastFocused","when":"chatCursorAtTop && inChatInput && !quickChatHasFocus"},+{"key":"ctrl+shift+up","command":"workbench.chat.action.focusLastFocused","when":"inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus"},+{"key":"shift+escape","command":"closeFindWidget","when":"editorFocus && findWidgetVisible"},+{"key":"escape","command":"closeFindWidget","when":"editorFocus && findWidgetVisible"},+{"key":"ctrl+alt+enter","command":"editor.action.replaceAll","when":"editorFocus && findWidgetVisible"},+{"key":"ctrl+shift+1","command":"editor.action.replaceOne","when":"editorFocus && findWidgetVisible"},+{"key":"enter","command":"editor.action.replaceOne","when":"editorFocus && findWidgetVisible && replaceInputFocussed"},+{"key":"alt+enter","command":"editor.action.selectAllMatches","when":"editorFocus && findWidgetVisible"},+{"key":"escape","command":"notebook.hideFind","when":"findWidgetVisible && notebookEditorFocused"},+{"key":"alt+c","command":"toggleFindCaseSensitive","when":"editorFocus"},+{"key":"alt+l","command":"toggleFindInSelection","when":"editorFocus"},+{"key":"alt+r","command":"toggleFindRegex","when":"editorFocus"},+{"key":"alt+w","command":"toggleFindWholeWord","when":"editorFocus"},+{"key":"alt+p","command":"togglePreserveCase","when":"editorFocus"},+{"key":"escape","command":"workbench.action.browser.hideFind","when":"browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'"},+{"key":"enter","command":"workbench.action.chat.openInlineAttachment","when":"chatInputInlineAttachmentActive && chatIsEnabled && inChatInput && !editorHoverFocused"},+{"key":"tab","command":"jumpToNextSnippetPlaceholder","when":"hasNextTabstop && inSnippetMode && textInputFocus"},+{"key":"shift+tab","command":"jumpToPrevSnippetPlaceholder","when":"hasPrevTabstop && inSnippetMode && textInputFocus"},+{"key":"escape","command":"leaveEditorMessage","when":"messageVisible"},+{"key":"shift+escape","command":"leaveSnippet","when":"inSnippetMode && textInputFocus"},+{"key":"escape","command":"leaveSnippet","when":"inSnippetMode && textInputFocus"},+{"key":"shift+escape","command":"closeMarkersNavigation","when":"editorFocus && markersNavigationVisible"},+{"key":"escape","command":"closeMarkersNavigation","when":"editorFocus && markersNavigationVisible"},+{"key":"shift+escape","command":"closeQuickDiff","when":"dirtyDiffVisible"},+{"key":"escape","command":"closeQuickDiff","when":"dirtyDiffVisible"},+{"key":"escape","command":"notifications.hideToasts","when":"notificationToastsVisible"},+{"key":"shift+escape","command":"closeParameterHints","when":"editorFocus && parameterHintsVisible"},+{"key":"escape","command":"closeParameterHints","when":"editorFocus && parameterHintsVisible"},+{"key":"alt+down","command":"showNextParameterHint","when":"editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"},+{"key":"down","command":"showNextParameterHint","when":"editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"},+{"key":"alt+up","command":"showPrevParameterHint","when":"editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"},+{"key":"up","command":"showPrevParameterHint","when":"editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"},+{"key":"shift+tab","command":"acceptAlternativeSelectedSuggestion","when":"suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"},+{"key":"shift+enter","command":"acceptAlternativeSelectedSuggestion","when":"suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"},+{"key":"tab","command":"acceptSelectedSuggestion","when":"suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"},+{"key":"enter","command":"acceptSelectedSuggestion","when":"acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus"},+{"key":"escape","command":"editor.action.inlineSuggest.hide","when":"editorTextFocus && inlineEditIsVisible || editorTextFocus && inlineSuggestionVisible"},+{"key":"ctrl+i","command":"focusSuggestion","when":"suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"ctrl+space","command":"focusSuggestion","when":"suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"shift+escape","command":"hideSuggestWidget","when":"suggestWidgetVisible && textInputFocus"},+{"key":"escape","command":"hideSuggestWidget","when":"suggestWidgetVisible && textInputFocus"},+{"key":"tab","command":"insertBestCompletion","when":"atEndOfWord && textInputFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"},+{"key":"tab","command":"insertNextSuggestion","when":"hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"},+{"key":"shift+tab","command":"insertPrevSuggestion","when":"hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"},+{"key":"ctrl+pagedown","command":"selectNextPageSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"pagedown","command":"selectNextPageSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"ctrl+down","command":"selectNextSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"down","command":"selectNextSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"ctrl+pageup","command":"selectPrevPageSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"pageup","command":"selectPrevPageSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"ctrl+up","command":"selectPrevSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"up","command":"selectPrevSuggestion","when":"suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"},+{"key":"ctrl+i","command":"toggleSuggestionDetails","when":"suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"},+{"key":"ctrl+space","command":"toggleSuggestionDetails","when":"suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"},+{"key":"ctrl+alt+space","command":"toggleSuggestionFocus","when":"suggestWidgetVisible && textInputFocus"},+{"key":"shift+tab","command":"jumpToPrevSnippetPlaceholder","when":"hasPrevTabstop && inSnippetChoice && inSnippetMode && textInputFocus"},+{"key":"enter","command":"acceptRenameInput","when":"editorFocus && renameInputVisible"},+{"key":"ctrl+enter","command":"acceptRenameInputWithPreview","when":"config.editor.rename.enablePreview && editorFocus && renameInputVisible"},+{"key":"shift+escape","command":"cancelLinkedEditingInput","when":"LinkedEditingInputVisible && editorTextFocus"},+{"key":"escape","command":"cancelLinkedEditingInput","when":"LinkedEditingInputVisible && editorTextFocus"},+{"key":"shift+escape","command":"cancelRenameInput","when":"editorFocus && renameInputVisible"},+{"key":"escape","command":"cancelRenameInput","when":"editorFocus && renameInputVisible"},+{"key":"down","command":"focusNextRenameSuggestion","when":"renameInputVisible"},+{"key":"up","command":"focusPreviousRenameSuggestion","when":"renameInputVisible"},+{"key":"ctrl+shift+l","command":"addCursorsAtSearchResults","when":"fileMatchOrMatchFocus && searchViewletVisible"},+{"key":"escape","command":"agentSession.exitAgentSessionProjection","when":"chatInAgentSessionProjection && chatIsEnabled"},+{"key":"ctrl+shift+space","command":"agentsVoice.pushToTalk","when":"agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus || agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus && config.agents.voice.useBYOKVoiceModel =~ /\\S/"},+{"key":"ctrl+shift+space","command":"agentsVoice.startVoiceInChat","when":"agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceEntitled && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !agentsVoiceEntitled && !chatSpeechToTextConfigured && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !agentsVoiceEntitled && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !agentsVoiceEntitled && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceEntitled && !chatSpeechToTextConfigured && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceEntitled && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.dictation.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton && !config.dictation.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton && !(config.agents.voice.useBYOKVoiceModel =~ /\\S/) || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !agentsVoiceEntitled && !chatSpeechToTextConfigured && !config.agents.voice.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !agentsVoiceEntitled && !chatSpeechToTextConfigured && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !agentsVoiceEntitled && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceEntitled && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured && !config.agents.voice.showButton && !config.dictation.showButton && config.agents.voice.useBYOKVoiceModel =~ /\\S/"},+{"key":"ctrl+shift+;","command":"breadcrumbs.focus","when":"breadcrumbsPossible && breadcrumbsVisible"},+{"key":"ctrl+shift+.","command":"breadcrumbs.focusAndSelect","when":"breadcrumbsPossible && breadcrumbsVisible"},+{"key":"ctrl+right","command":"breadcrumbs.focusNext","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"right","command":"breadcrumbs.focusNext","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"ctrl+left","command":"breadcrumbs.focusPrevious","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"left","command":"breadcrumbs.focusPrevious","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"ctrl+enter","command":"breadcrumbs.revealFocused","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"space","command":"breadcrumbs.revealFocused","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"ctrl+enter","command":"breadcrumbs.revealFocusedFromTreeAside","when":"breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"down","command":"breadcrumbs.selectFocused","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"enter","command":"breadcrumbs.selectFocused","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"ctrl+shift+.","command":"breadcrumbs.toggleToOn","when":"!config.breadcrumbs.enabled"},+{"key":"ctrl+down","command":"chat.action.focus","when":"inChat && inChatInput && quickChatHasFocus"},+{"key":"ctrl+c","command":"chat.inlineResourceAnchor.copyResource","when":"chatAttachmentResource"},+{"key":"ctrl+enter","command":"chatEditing.acceptAllFiles","when":"hasUndecidedChatEditingResource && inChatInput"},+{"key":"ctrl+backspace","command":"chatEditing.discardAllFiles","when":"hasUndecidedChatEditingResource && inChatInput && !chatInputHasText"},+{"key":"alt+f5","command":"chatEditor.action.navigateNext","when":"chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused"},+{"key":"shift+alt+f5","command":"chatEditor.action.navigatePrevious","when":"chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused"},+{"key":"f7","command":"chatEditor.action.showAccessibleDiffView","when":"accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified"},+{"key":"shift+alt+f7","command":"chatEditor.action.toggleDiff","when":"chatEdits.hasEditorModifications && editorFocus"},+{"key":"escape","command":"closeReplaceInFilesWidget","when":"replaceInputBoxFocus && searchViewletVisible"},+{"key":"escape","command":"commentsClearFilterText","when":"commentsFilterFocus"},+{"key":"ctrl+f","command":"commentsFocusFilter","when":"focusedView == 'workbench.panel.comments'"},+{"key":"ctrl+down","command":"commentsFocusViewFromFilter","when":"commentsFilterFocus"},+{"key":"shift+alt+c","command":"copyFilePath","when":"!editorFocus"},+{"key":"shift+alt+c","command":"copyFilePath","when":"editorFocus"},+{"key":"ctrl+k ctrl+shift+c","command":"copyRelativeFilePath","when":"!editorFocus"},+{"key":"ctrl+k ctrl+shift+c","command":"copyRelativeFilePath","when":"editorFocus"},+{"key":"ctrl+left","command":"cursorWordAccessibilityLeft","when":"accessibilityModeEnabled && isWindows && textInputFocus && focusedView == 'workbench.panel.output'"},+{"key":"ctrl+shift+left","command":"cursorWordAccessibilityLeftSelect","when":"accessibilityModeEnabled && isWindows && textInputFocus && focusedView == 'workbench.panel.output'"},+{"key":"ctrl+right","command":"cursorWordAccessibilityRight","when":"accessibilityModeEnabled && isWindows && textInputFocus && focusedView == 'workbench.panel.output'"},+{"key":"ctrl+shift+right","command":"cursorWordAccessibilityRightSelect","when":"accessibilityModeEnabled && isWindows && textInputFocus && focusedView == 'workbench.panel.output'"},+{"key":"ctrl+alt+c","command":"debug.copyWatchExpression","when":"watchExpressionsExist && !expressionSelected && focusedView == 'workbench.debug.watchExpressionsView'"},+{"key":"alt+enter","command":"debug.openBreakpointToSide","when":"breakpointsFocused"},+{"key":"ctrl+enter","command":"debug.openBreakpointToSide","when":"breakpointsFocused"},+{"key":"ctrl+f5","command":"debug.openView","when":"!debuggersAvailable"},+{"key":"f5","command":"debug.openView","when":"!debuggersAvailable"},+{"key":"delete","command":"debug.removeBreakpoint","when":"breakpointsFocused && !breakpointInputFocused"},+{"key":"delete","command":"debug.removeWatchExpression","when":"watchExpressionsFocused && !expressionSelected"},+{"key":"alt+-","command":"decreaseSearchEditorContextLines","when":"inSearchEditor"},+{"key":"alt+f1","command":"editor.action.accessibilityHelp","when":"!accessibilityHelpIsShown"},+{"key":"alt+a","command":"editor.action.accessibilityHelpConfigureAssignedKeybindings","when":"accessibilityHelpIsShown && accessibleViewHasAssignedKeybindings"},+{"key":"alt+k","command":"editor.action.accessibilityHelpConfigureKeybindings","when":"accessibilityHelpIsShown && accessibleViewHasUnassignedKeybindings"},+{"key":"alt+h","command":"editor.action.accessibilityHelpOpenHelpLink","when":"accessibilityHelpIsShown"},+{"key":"alt+f2","command":"editor.action.accessibleView"},+{"key":"ctrl+/","command":"editor.action.accessibleViewAcceptInlineCompletion","when":"accessibleViewIsShown && accessibleViewCurrentProviderId == 'inlineCompletions'"},+{"key":"alt+f6","command":"editor.action.accessibleViewDisableHint","when":"accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled"},+{"key":"alt+]","command":"editor.action.accessibleViewNext","when":"accessibleViewIsShown && accessibleViewSupportsNavigation"},+{"key":"ctrl+alt+pagedown","command":"editor.action.accessibleViewNextCodeBlock","when":"accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'"},+{"key":"alt+[","command":"editor.action.accessibleViewPrevious","when":"accessibleViewIsShown && accessibleViewSupportsNavigation"},+{"key":"ctrl+alt+pageup","command":"editor.action.accessibleViewPreviousCodeBlock","when":"accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'"},+{"key":"ctrl+k ctrl+k","command":"editor.action.defineKeybinding","when":"resource == 'vscode-userdata:/tmp/m9-kb-ud/User/keybindings.json'"},+{"key":"tab","command":"editor.action.inlineSuggest.commit","when":"inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible"},+{"key":"ctrl+shift+v","command":"editor.action.pasteAsText","when":"chatInputHasFocus"},+{"key":"ctrl+k ctrl+i","command":"editor.action.showHover","when":"inChatInput && textInputFocus"},+{"key":"insert","command":"editor.action.toggleOvertypeInsertMode"},+{"key":"shift+f9","command":"editor.debug.action.toggleInlineBreakpoint","when":"editorTextFocus"},+{"key":"shift+alt+d","command":"editor.detectLanguage","when":"editorTextFocus && !notebookEditable"},+{"key":"shift+enter","command":"editor.refocusCallHierarchy","when":"callHierarchyVisible"},+{"key":"shift+enter","command":"editor.refocusTypeHierarchy","when":"typeHierarchyVisible"},+{"key":"shift+alt+h","command":"editor.showCallHierarchy","when":"editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor"},+{"key":"shift+alt+h","command":"editor.showIncomingCalls","when":"callHierarchyVisible && callHierarchyDirection == 'outgoingCalls'"},+{"key":"shift+alt+h","command":"editor.showOutgoingCalls","when":"callHierarchyVisible && callHierarchyDirection == 'incomingCalls'"},+{"key":"shift+alt+h","command":"editor.showSubtypes","when":"typeHierarchyVisible && typeHierarchyDirection == 'supertypes'"},+{"key":"shift+alt+h","command":"editor.showSupertypes","when":"typeHierarchyVisible && typeHierarchyDirection == 'subtypes'"},+{"key":"ctrl+enter","command":"explorer.openToSide","when":"explorerViewletFocus && foldersViewVisible && !inputFocus"},+{"key":"shift+alt+f","command":"filesExplorer.findInFolder","when":"explorerResourceIsFolder && filesExplorerFocus && foldersViewVisible && !inputFocus"},+{"key":"alt+down","command":"history.showNext","when":"historyNavigationForwardsEnabled && historyNavigationWidgetFocus && !suggestWidgetVisible"},+{"key":"down","command":"history.showNext","when":"historyNavigationForwardsEnabled && historyNavigationWidgetFocus && !suggestWidgetVisible"},+{"key":"alt+up","command":"history.showPrevious","when":"historyNavigationBackwardsEnabled && historyNavigationWidgetFocus && !suggestWidgetVisible"},+{"key":"up","command":"history.showPrevious","when":"historyNavigationBackwardsEnabled && historyNavigationWidgetFocus && !suggestWidgetVisible"},+{"key":"alt+=","command":"increaseSearchEditorContextLines","when":"inSearchEditor"},+{"key":"ctrl+i","command":"inlineChat.askInChat","when":"config.inlineChat.askInChat && editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || config.inlineChat.askInChat && editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || config.inlineChat.askInChat && editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+i","command":"inlineChat.start","when":"editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatHasNotebookAgent && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatHasNotebookInline && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatHasNotebookInline && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatHasNotebookAgent && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatHasNotebookInline && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatHasNotebookInline && inlineChatPossible && !config.inlineChat.askInChat && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'"},+{"key":"enter","command":"inlineChat2.keep","when":"chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+up","command":"interactive.history.focus","when":"isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused"},+{"key":"down","command":"interactive.history.next","when":"isCompositeNotebook && !notebookEditorFocused && !suggestWidgetVisible && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'"},+{"key":"up","command":"interactive.history.previous","when":"isCompositeNotebook && !notebookEditorFocused && !suggestWidgetVisible && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'"},+{"key":"ctrl+end","command":"interactive.scrollToBottom","when":"activeEditor == 'workbench.editor.interactive'"},+{"key":"ctrl+home","command":"interactive.scrollToTop","when":"activeEditor == 'workbench.editor.interactive'"},+{"key":"enter","command":"keybindings.editor.acceptWhenExpression","when":"inKeybindings && whenFocus && !suggestWidgetVisible"},+{"key":"ctrl+k ctrl+a","command":"keybindings.editor.addKeybinding","when":"inKeybindings && keybindingFocus"},+{"key":"escape","command":"keybindings.editor.clearSearchResults","when":"inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue"},+{"key":"ctrl+c","command":"keybindings.editor.copyKeybindingEntry","when":"inKeybindings && keybindingFocus && !whenFocus"},+{"key":"enter","command":"keybindings.editor.defineKeybinding","when":"inKeybindings && keybindingFocus && !whenFocus"},+{"key":"ctrl+k ctrl+e","command":"keybindings.editor.defineWhenExpression","when":"inKeybindings && keybindingFocus"},+{"key":"ctrl+down","command":"keybindings.editor.focusKeybindings","when":"inKeybindings && inKeybindingsSearch"},+{"key":"alt+k","command":"keybindings.editor.recordSearchKeys","when":"inKeybindings && inKeybindingsSearch"},+{"key":"escape","command":"keybindings.editor.rejectWhenExpression","when":"inKeybindings && whenFocus && !suggestWidgetVisible"},+{"key":"delete","command":"keybindings.editor.removeKeybinding","when":"inKeybindings && keybindingFocus && !inputFocus"},+{"key":"ctrl+f","command":"keybindings.editor.searchKeybindings","when":"inKeybindings"},+{"key":"alt+p","command":"keybindings.editor.toggleSortByPrecedence","when":"inKeybindings"},+{"key":"escape","command":"list.clear","when":"listFocus && listHasSelectionOrFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"escape","command":"list.closeFind","when":"listFocus && treeFindOpen"},+{"key":"left","command":"list.collapse","when":"listFocus && treeElementCanCollapse && !inputFocus && !treestickyScrollFocused || listFocus && treeElementHasParent && !inputFocus && !treestickyScrollFocused"},+{"key":"ctrl+left","command":"list.collapseAll","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"right","command":"list.expand","when":"listFocus && treeElementCanExpand && !inputFocus && !treestickyScrollFocused || listFocus && treeElementHasChild && !inputFocus && !treestickyScrollFocused"},+{"key":"shift+down","command":"list.expandSelectionDown","when":"listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused"},+{"key":"shift+up","command":"list.expandSelectionUp","when":"listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused"},+{"key":"f3","command":"list.find","when":"listFocus && listSupportsFind"},+{"key":"ctrl+alt+f","command":"list.find","when":"listFocus && listSupportsFind"},+{"key":"alt+down","command":"list.focusAnyDown","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"alt+home","command":"list.focusAnyFirst","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"alt+end","command":"list.focusAnyLast","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"alt+up","command":"list.focusAnyUp","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"down","command":"list.focusDown","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"home","command":"list.focusFirst","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"end","command":"list.focusLast","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"pagedown","command":"list.focusPageDown","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"pageup","command":"list.focusPageUp","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"up","command":"list.focusUp","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"ctrl+down","command":"list.scrollDown","when":"listFocus && !inputFocus && !treestickyScrollFocused && listScrollAtBoundary != 'both' && listScrollAtBoundary != 'bottom'"},+{"key":"ctrl+up","command":"list.scrollUp","when":"listFocus && !inputFocus && !treestickyScrollFocused && listScrollAtBoundary != 'both' && listScrollAtBoundary != 'top'"},+{"key":"enter","command":"list.select","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"ctrl+a","command":"list.selectAll","when":"listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused"},+{"key":"ctrl+k ctrl+i","command":"list.showHover","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"space","command":"list.toggleExpand","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"ctrl+shift+enter","command":"list.toggleSelection","when":"listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"backspace","command":"noteMultiCursor.deleteLeft","when":"config.notebook.multiCursor.enabled && isNotebookMultiSelect && activeEditor == 'workbench.editor.notebook' && notebookMultiSelectCursorState == '1' || config.notebook.multiCursor.enabled && isNotebookMultiSelect && activeEditor == 'workbench.editor.notebook' && notebookMultiSelectCursorState == '2'"},+{"key":"delete","command":"noteMultiCursor.deleteRight","when":"config.notebook.multiCursor.enabled && isNotebookMultiSelect && activeEditor == 'workbench.editor.notebook' && notebookMultiSelectCursorState == '1' || config.notebook.multiCursor.enabled && isNotebookMultiSelect && activeEditor == 'workbench.editor.notebook' && notebookMultiSelectCursorState == '2'"},+{"key":"escape","command":"noteMultiCursor.exit","when":"config.notebook.multiCursor.enabled && isNotebookMultiSelect && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+d","command":"notebook.addFindMatchToSelection","when":"config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+k m","command":"notebook.cell.changeLanguage","when":"notebookCellEditable && notebookEditable && notebookEditorFocused"},+{"key":"y","command":"notebook.cell.changeToCode","when":"notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'"},+{"key":"m","command":"notebook.cell.changeToMarkdown","when":"notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'"},+{"key":"ctrl+k i","command":"notebook.cell.chat.start","when":"config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus"},+{"key":"ctrl+i","command":"notebook.cell.chat.start","when":"config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus"},+{"key":"alt+delete","command":"notebook.cell.clearOutputs","when":"notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus"},+{"key":"ctrl+k ctrl+c","command":"notebook.cell.collapseCellInput","when":"notebookCellListFocused && !inputFocus && !notebookCellInputIsCollapsed"},+{"key":"ctrl+k t","command":"notebook.cell.collapseCellOutput","when":"notebookCellHasOutputs && notebookCellListFocused && !inputFocus && !notebookCellOutputIsCollapsed"},+{"key":"shift+alt+down","command":"notebook.cell.copyDown","when":"notebookEditorFocused && !inputFocus"},+{"key":"shift+alt+up","command":"notebook.cell.copyUp","when":"notebookEditorFocused && !inputFocus"},+{"key":"delete","command":"notebook.cell.delete","when":"notebookEditorFocused && !inputFocus && !notebookOutputInputFocused"},+{"key":"shift+alt+d","command":"notebook.cell.detectLanguage","when":"notebookCellEditable && notebookEditable"},+{"key":"enter","command":"notebook.cell.edit","when":"notebookCellListFocused && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused"},+{"key":"ctrl+k ctrl+c","command":"notebook.cell.expandCellInput","when":"notebookCellInputIsCollapsed && notebookCellListFocused"},+{"key":"ctrl+k t","command":"notebook.cell.expandCellOutput","when":"notebookCellListFocused && notebookCellOutputIsCollapsed"},+{"key":"ctrl+down","command":"notebook.cell.focusInOutput","when":"isWindows && notebookCellHasOutputs && !isCompositeNotebook && activeEditor == 'workbench.editor.interactive' || isWindows && notebookCellHasOutputs && !isCompositeNotebook && activeEditor == 'workbench.editor.notebook' || isWindows && notebookCellHasOutputs && !isCompositeNotebook && activeEditor == 'workbench.editor.repl'"},+{"key":"ctrl+shift+down","command":"notebook.cell.focusInOutput","when":"activeEditor == 'workbench.editor.interactive' || activeEditor == 'workbench.editor.notebook' || activeEditor == 'workbench.editor.repl'"},+{"key":"ctrl+shift+up","command":"notebook.cell.focusOutOutput","when":"notebookEditorFocused && notebookOutputFocused"},+{"key":"ctrl+shift+enter","command":"notebook.cell.insertCodeCellAbove","when":"notebookCellListFocused && !inputFocus"},+{"key":"ctrl+enter","command":"notebook.cell.insertCodeCellBelow","when":"notebookCellListFocused && !inputFocus"},+{"key":"shift+alt+win+j","command":"notebook.cell.joinAbove","when":"notebookEditorFocused"},+{"key":"alt+win+j","command":"notebook.cell.joinBelow","when":"notebookEditorFocused"},+{"key":"alt+down","command":"notebook.cell.moveDown","when":"notebookEditorFocused && !inputFocus"},+{"key":"alt+up","command":"notebook.cell.moveUp","when":"notebookEditorFocused && !inputFocus"},+{"key":"ctrl+.","command":"notebook.cell.openFailureActions","when":"notebookCellFocused && notebookCellHasErrorDiagnostics && !notebookCellEditorFocused"},+{"key":"ctrl+k ctrl+shift+\\","command":"notebook.cell.split","when":"editorTextFocus && notebookCellEditable && notebookEditable && notebookEditorFocused"},+{"key":"ctrl+k y","command":"notebook.cell.toggleOutputScrolling","when":"notebookCellHasOutputs && notebookCellListFocused && !inputFocus"},+{"key":"ctrl+l","command":"notebook.centerActiveCell","when":"notebookEditorFocused"},+{"key":"ctrl+/","command":"notebook.commentSelectedCells","when":"notebookEditable && notebookEditorFocused && !inputFocus"},+{"key":"alt+f3","command":"notebook.diff.action.next","when":"activeEditor == 'workbench.editor.notebookTextDiffEditor'"},+{"key":"shift+alt+f3","command":"notebook.diff.action.previous","when":"activeEditor == 'workbench.editor.notebookTextDiffEditor'"},+{"key":"ctrl+f","command":"notebook.find","when":"notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.interactive' || notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+end","command":"notebook.focusBottom","when":"notebookEditorFocused && !inputFocus"},+{"key":"down","command":"notebook.focusNextEditor","when":"config.notebook.navigation.allowNavigateToSurroundingCells && notebookCursorNavigationMode && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && !notebookCellMarkdownEditMode && notebookCellType == 'markup'"},+{"key":"ctrl+down","command":"notebook.focusNextEditor","when":"notebookEditorFocused && notebookOutputFocused"},+{"key":"up","command":"notebook.focusPreviousEditor","when":"config.notebook.navigation.allowNavigateToSurroundingCells && notebookCursorNavigationMode && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && !notebookCellMarkdownEditMode && notebookCellType == 'markup'"},+{"key":"ctrl+home","command":"notebook.focusTop","when":"notebookEditorFocused && !inputFocus"},+{"key":"left","command":"notebook.fold","when":"notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+shift+[","command":"notebook.fold","when":"notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"},+{"key":"shift+alt+f","command":"notebook.format","when":"notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+shift+l","command":"notebook.selectAllFindMatches","when":"config.notebook.multiCursor.enabled && notebookFindWidgetFocused || config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'"},+{"key":"right","command":"notebook.unfold","when":"notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"},+{"key":"ctrl+shift+]","command":"notebook.unfold","when":"notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"},+{"key":"delete","command":"notification.clear","when":"notificationFocus"},+{"key":"left","command":"notification.collapse","when":"notificationFocus"},+{"key":"right","command":"notification.expand","when":"notificationFocus"},+{"key":"enter","command":"notification.toggle","when":"notificationFocus"},+{"key":"space","command":"notification.toggle","when":"notificationFocus"},+{"key":"home","command":"notifications.focusFirstToast","when":"notificationFocus && notificationToastsVisible"},+{"key":"pageup","command":"notifications.focusFirstToast","when":"notificationFocus && notificationToastsVisible"},+{"key":"end","command":"notifications.focusLastToast","when":"notificationFocus && notificationToastsVisible"},+{"key":"pagedown","command":"notifications.focusLastToast","when":"notificationFocus && notificationToastsVisible"},+{"key":"down","command":"notifications.focusNextToast","when":"notificationFocus && notificationToastsVisible"},+{"key":"up","command":"notifications.focusPreviousToast","when":"notificationFocus && notificationToastsVisible"},+{"key":"ctrl+k ctrl+shift+n","command":"notifications.showList"},+{"key":"escape","command":"problems.action.clearFilterText","when":"problemsFilterFocus"},+{"key":"ctrl+c","command":"problems.action.copy","when":"problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'"},+{"key":"ctrl+f","command":"problems.action.focusFilter","when":"focusedView == 'workbench.panel.markers.view'"},+{"key":"ctrl+down","command":"problems.action.focusProblemsFromFilter","when":"problemsFilterFocus"},+{"key":"enter","command":"problems.action.open","when":"problemFocus"},+{"key":"ctrl+enter","command":"problems.action.openToSide","when":"problemFocus"},+{"key":"ctrl+.","command":"problems.action.showQuickFixes","when":"problemFocus"},+{"key":"ctrl+alt+win+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"ctrl+alt+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"ctrl+win+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"ctrl+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"shift+alt+win+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"shift+win+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"shift+alt+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"shift+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"alt+win+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"win+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"alt+enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"enter","command":"quickInput.accept","when":"inQuickInput && quickInputType != 'quickWidget'"},+{"key":"ctrl+alt+win+home","command":"quickInput.first","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+win+home","command":"quickInput.first","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"alt+win+home","command":"quickInput.first","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"win+home","command":"quickInput.first","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+win+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"ctrl+alt+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"ctrl+win+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"ctrl+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"alt+win+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"win+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"alt+escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"escape","command":"quickInput.hide","when":"inQuickInput"},+{"key":"ctrl+alt+win+end","command":"quickInput.last","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+win+end","command":"quickInput.last","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"alt+win+end","command":"quickInput.last","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"win+end","command":"quickInput.last","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"win+down","command":"quickInput.next","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"down","command":"quickInput.next","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+win+down","command":"quickInput.nextSeparator","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+win+down","command":"quickInput.nextSeparator","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+down","command":"quickInput.nextSeparator","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+down","command":"quickInput.nextSeparatorWithQuickAccessFallback","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+win+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+win+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"alt+win+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"win+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"alt+pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"pagedown","command":"quickInput.pageNext","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+win+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+win+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"alt+win+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"win+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"alt+pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"pageup","command":"quickInput.pagePrevious","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"win+up","command":"quickInput.previous","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"up","command":"quickInput.previous","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+win+up","command":"quickInput.previousSeparator","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+win+up","command":"quickInput.previousSeparator","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+alt+up","command":"quickInput.previousSeparator","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"ctrl+up","command":"quickInput.previousSeparatorWithQuickAccessFallback","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"space","command":"quickInput.toggleCheckbox","when":"inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'"},+{"key":"win+space","command":"quickInput.toggleHover","when":"inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'"},+{"key":"space","command":"refactorPreview.toggleCheckedState","when":"listFocus && refactorPreview.enabled && !inputFocus && !treestickyScrollFocused"},+{"key":"shift+alt+r","command":"revealFileInOS","when":"!editorFocus"},+{"key":"enter","command":"revealReference","when":"listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused"},+{"key":"ctrl+k s","command":"saveAll"},+{"key":"ctrl+enter","command":"scm.acceptInput","when":"scmRepository"},+{"key":"escape","command":"scm.clearInput","when":"scmRepository && !editorHasSelection && !inlineSuggestionVisible && !scmInputHasValidationMessage && !suggestWidgetVisible"},+{"key":"escape","command":"scm.clearValidation","when":"scmInputHasValidationMessage && scmRepository"},+{"key":"alt+down","command":"scm.forceViewNextCommit","when":"scmRepository"},+{"key":"alt+up","command":"scm.forceViewPreviousCommit","when":"scmRepository"},+{"key":"down","command":"scm.viewNextCommit","when":"scmInputIsInLastPosition && scmRepository && !suggestWidgetVisible"},+{"key":"up","command":"scm.viewPreviousCommit","when":"scmInputIsInFirstPosition && scmRepository && !suggestWidgetVisible"},+{"key":"escape","command":"search.action.cancel","when":"listFocus && searchViewletVisible && !inputFocus && !treestickyScrollFocused && searchState != '0'"},+{"key":"ctrl+c","command":"search.action.copyMatch","when":"fileMatchOrMatchFocus"},+{"key":"shift+alt+c","command":"search.action.copyPath","when":"fileMatchOrFolderMatchWithResourceFocus"},+{"key":"f4","command":"search.action.focusNextSearchResult","when":"hasSearchResult || inSearchEditor"},+{"key":"shift+f4","command":"search.action.focusPreviousSearchResult","when":"hasSearchResult || inSearchEditor"},+{"key":"ctrl+up","command":"search.action.focusSearchFromResults","when":"accessibilityModeEnabled && searchViewletVisible || firstMatchFocus && searchViewletVisible"},+{"key":"alt+enter","command":"search.action.openInEditor","when":"hasSearchResult && searchViewletFocus"},+{"key":"enter","command":"search.action.openResult","when":"fileMatchOrMatchFocus && searchViewletVisible"},+{"key":"ctrl+enter","command":"search.action.openResultToSide","when":"fileMatchOrMatchFocus && searchViewletVisible"},+{"key":"delete","command":"search.action.remove","when":"fileMatchOrMatchFocus && searchViewletVisible"},+{"key":"ctrl+shift+1","command":"search.action.replace","when":"isEditableItem && matchFocus && replaceActive && searchViewletVisible"},+{"key":"ctrl+alt+enter","command":"search.action.replaceAll","when":"replaceActive && searchViewletVisible && !findWidgetVisible"},+{"key":"ctrl+shift+enter","command":"search.action.replaceAllInFile","when":"fileMatchFocus && isEditableItem && replaceActive && searchViewletVisible"},+{"key":"ctrl+shift+1","command":"search.action.replaceAllInFile","when":"fileMatchFocus && isEditableItem && replaceActive && searchViewletVisible"},+{"key":"ctrl+shift+enter","command":"search.action.replaceAllInFolder","when":"folderMatchFocus && isEditableItem && replaceActive && searchViewletVisible"},+{"key":"ctrl+shift+1","command":"search.action.replaceAllInFolder","when":"folderMatchFocus && isEditableItem && replaceActive && searchViewletVisible"},+{"key":"shift+alt+f","command":"search.action.restrictSearchToFolder","when":"folderMatchWithResourceFocus && searchViewletVisible"},+{"key":"ctrl+i","command":"search.action.searchWithAI","when":"hasAIResultProviderKey && searchViewletFocus"},+{"key":"ctrl+down","command":"search.focus.nextInputBox","when":"inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible"},+{"key":"ctrl+up","command":"search.focus.previousInputBox","when":"inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"},+{"key":"ctrl+shift+l","command":"selectAllSearchEditorMatches","when":"inSearchEditor"},+{"key":"escape","command":"settings.action.focusLevelUp","when":"inSettingsEditor && !inSettingsJSONEditor && !inSettingsSearch"},+{"key":"enter","command":"settings.action.focusSettingControl","when":"inSettingsEditor && settingRowFocus"},+{"key":"enter","command":"settings.action.focusSettingsFromSearchOnEnter","when":"inSettingsSearch && !suggestWidgetVisible"},+{"key":"enter","command":"settings.action.focusSettingsList","when":"inSettingsEditor && settingsTocRowFocus"},+{"key":"left","command":"settings.action.focusTOC","when":"inSettingsEditor && settingRowFocus"},+{"key":"shift+f9","command":"settings.action.showContextMenu","when":"inSettingsEditor"},+{"key":"ctrl+insert","command":"suggestWidgetCopy","when":"suggestWidgetDetailsFocused"},+{"key":"ctrl+c","command":"suggestWidgetCopy","when":"suggestWidgetDetailsFocused"},+{"key":"ctrl+; ctrl+x","command":"testing.cancelRun"},+{"key":"ctrl+; ctrl+shift+a","command":"testing.coverageAll"},+{"key":"ctrl+; ctrl+shift+c","command":"testing.coverageAtCursor","when":"editorTextFocus"},+{"key":"ctrl+; ctrl+shift+f","command":"testing.coverageCurrentFile","when":"editorTextFocus"},+{"key":"ctrl+; ctrl+shift+l","command":"testing.coverageLastRun"},+{"key":"ctrl+; ctrl+a","command":"testing.debugAll"},+{"key":"ctrl+; ctrl+c","command":"testing.debugAtCursor","when":"editorTextFocus"},+{"key":"ctrl+; ctrl+f","command":"testing.debugCurrentFile","when":"editorTextFocus"},+{"key":"ctrl+; ctrl+e","command":"testing.debugFailTests"},+{"key":"ctrl+; ctrl+l","command":"testing.debugLastRun"},+{"key":"ctrl+; ctrl+m","command":"testing.openOutputPeek"},+{"key":"ctrl+; e","command":"testing.reRunFailTests"},+{"key":"ctrl+; l","command":"testing.reRunLastRun"},+{"key":"ctrl+; ctrl+r","command":"testing.refreshTests","when":"testing.canRefresh"},+{"key":"ctrl+; a","command":"testing.runAll"},+{"key":"ctrl+; c","command":"testing.runAtCursor","when":"editorTextFocus"},+{"key":"ctrl+; f","command":"testing.runCurrentFile","when":"editorTextFocus"},+{"key":"ctrl+; ctrl+o","command":"testing.showMostRecentOutput","when":"testing.hasAnyResults"},+{"key":"ctrl+; ctrl+shift+i","command":"testing.toggleInlineCoverage"},+{"key":"ctrl+; ctrl+i","command":"testing.toggleInlineTestOutput"},+{"key":"alt+h","command":"testing.toggleTestingPeekHistory","when":"testing.isPeekVisible"},+{"key":"alt+c","command":"toggleSearchCaseSensitive","when":"searchViewletFocus && !fileMatchOrFolderMatchFocus"},+{"key":"alt+c","command":"toggleSearchEditorCaseSensitive","when":"inSearchEditor && searchInputBoxFocus"},+{"key":"alt+l","command":"toggleSearchEditorContextLines","when":"inSearchEditor"},+{"key":"alt+r","command":"toggleSearchEditorRegex","when":"inSearchEditor && searchInputBoxFocus"},+{"key":"alt+w","command":"toggleSearchEditorWholeWord","when":"inSearchEditor && searchInputBoxFocus"},+{"key":"alt+p","command":"toggleSearchPreserveCase","when":"searchViewletFocus"},+{"key":"alt+r","command":"toggleSearchRegex","when":"searchViewletFocus"},+{"key":"alt+w","command":"toggleSearchWholeWord","when":"searchViewletFocus"},+{"key":"ctrl+alt+win+n","command":"welcome.showNewFileEntries","when":"!isSessionsWindow"},+{"key":"ctrl+down","command":"widgetNavigation.focusNext","when":"inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'"},+{"key":"ctrl+up","command":"widgetNavigation.focusPrevious","when":"inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'"},+{"key":"ctrl+l","command":"workbench.action.browser.focusUrlInput","when":"activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+alt+/","command":"workbench.action.browser.openOrList"},+{"key":"ctrl+shift+a","command":"workbench.action.browser.quickOpen","when":"activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+h","command":"workbench.action.browser.showHistory","when":"activeEditor == 'workbench.editor.browser' && browserStorageScope != 'agent' && browserStorageScope != 'ephemeral'"},+{"key":"escape","command":"workbench.action.browser.stopElementSelection","when":"browserElementSelectionMode && activeEditor == 'workbench.editor.browser'"},+{"key":"f12","command":"workbench.action.browser.toggleDevTools","when":"browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+d","command":"workbench.action.browser.toggleFavorite","when":"browserHasUrl && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+shift+alt+s","command":"workbench.action.chat.attachAppWindowScreenshot","when":"chatIsEnabled && config.chat.appWindowScreenshots.enabled"},+{"key":"alt+backspace","command":"workbench.action.chat.cancel","when":"chatSessionHasActiveRequest && !chatRemoteJobCreating || chatTranscriptProgressActive && !chatRemoteJobCreating"},+{"key":"enter","command":"workbench.action.chat.editRequests","when":"inChat && !chatIsReadonly && !editorHoverFocused && !textInputFocus"},+{"key":"ctrl+f","command":"workbench.action.chat.find","when":"chatFindSupported && chatIsEnabled && inChat && !editorFocus"},+{"key":"f3","command":"workbench.action.chat.findNext","when":"chatFindSupported && inChat && !editorFocus"},+{"key":"enter","command":"workbench.action.chat.findNext","when":"chatFindInputFocused"},+{"key":"shift+f3","command":"workbench.action.chat.findPrevious","when":"chatFindSupported && inChat && !editorFocus"},+{"key":"shift+enter","command":"workbench.action.chat.findPrevious","when":"chatFindInputFocused"},+{"key":"ctrl+shift+a","command":"workbench.action.chat.focusConfirmation","when":"accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel"},+{"key":"ctrl+down","command":"workbench.action.chat.focusInput","when":"inChat && !inChatInput && !quickChatHasFocus"},+{"key":"ctrl+up","command":"workbench.action.chat.focusInput","when":"inChat && quickChatHasFocus && !inChatInput"},+{"key":"ctrl+shift+a","command":"workbench.action.chat.focusQuestionCarousel","when":"chatHasQuestionCarousel && inChat"},+{"key":"alt+t","command":"workbench.action.chat.focusQuestionCarouselTerminal","when":"chatHasQuestionCarousel && chatQuestionCarouselHasTerminal && inChat && inChatQuestionCarousel"},+{"key":"ctrl+shift+/","command":"workbench.action.chat.focusTip","when":"inChat || inChat && inChatTip"},+{"key":"escape","command":"workbench.action.chat.hideFind","when":"chatFindInputFocused && chatFindWidgetVisible && inChat || chatFindWidgetFocused && chatFindWidgetVisible && inChat"},+{"key":"ctrl+i","command":"workbench.action.chat.holdToVoiceChatInChatView","when":"chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus"},+{"key":"ctrl+alt+pagedown","command":"workbench.action.chat.nextCodeBlock","when":"chatIsEnabled && inChat"},+{"key":"ctrl+f9","command":"workbench.action.chat.nextFileTree","when":"chatIsEnabled && inChat"},+{"key":"alt+n","command":"workbench.action.chat.nextQuestion","when":"chatHasQuestionCarousel && inChat && inChatQuestionCarousel"},+{"key":"ctrl+alt+down","command":"workbench.action.chat.nextUserPrompt","when":"chatIsEnabled && inChat"},+{"key":"ctrl+alt+i","command":"workbench.action.chat.open","when":"!chatSetupDisabledInWorkspace && !chatSetupHidden"},+{"key":"ctrl+alt+.","command":"workbench.action.chat.openModelPicker","when":"chatIsEnabled && inChatInput"},+{"key":"ctrl+shift+i","command":"workbench.action.chat.openagent","when":"config.chat.agent.enabled && !chatSetupDisabledInWorkspace && !chatSetupHidden"},+{"key":"ctrl+alt+pageup","command":"workbench.action.chat.previousCodeBlock","when":"chatIsEnabled && inChat"},+{"key":"ctrl+shift+f9","command":"workbench.action.chat.previousFileTree","when":"chatIsEnabled && inChat"},+{"key":"alt+p","command":"workbench.action.chat.previousQuestion","when":"chatHasQuestionCarousel && inChat && inChatQuestionCarousel"},+{"key":"ctrl+alt+up","command":"workbench.action.chat.previousUserPrompt","when":"chatIsEnabled && inChat"},+{"key":"delete","command":"workbench.action.chat.restoreCheckpoint","when":"inChat && !chatIsReadonly && !inChatQuestionCarousel && !inputFocus && !textInputFocus"},+{"key":"ctrl+alt+win+/","command":"workbench.action.chat.run-in-new-chat.prompt.current","when":"chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'"},+{"key":"alt+win+/","command":"workbench.action.chat.run.prompt","when":"chatIsEnabled"},+{"key":"alt+win+/","command":"workbench.action.chat.run.prompt.current","when":"chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'"},+{"key":"ctrl+shift+enter","command":"workbench.action.chat.sendToNewChat","when":"chatInputHasText && inChatInput"},+{"key":"ctrl+alt+i","command":"workbench.action.chat.showUpdateRequired","when":"workbench.panel.chat.updateRequired.active"},+{"key":"ctrl+i","command":"workbench.action.chat.startVoiceChat","when":"chatIsEnabled && hasSpeechProvider && inChatInput && !chatSpeechToTextConfigured && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSpeechToTextConfigured && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress"},+{"key":"ctrl+i","command":"workbench.action.chat.stopListeningAndSubmit","when":"inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'"},+{"key":"alt+c","command":"workbench.action.chat.toggleFindCaseSensitive","when":"chatFindWidgetVisible"},+{"key":"alt+r","command":"workbench.action.chat.toggleFindRegex","when":"chatFindWidgetVisible"},+{"key":"alt+w","command":"workbench.action.chat.toggleFindWholeWord","when":"chatFindWidgetVisible"},+{"key":"alt+t","command":"workbench.action.chat.toggleThinkingContentAccessibleView","when":"accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'"},+{"key":"delete","command":"workbench.action.chat.undoEdits","when":"inChat && !chatIsReadonly && !inChatQuestionCarousel && !inputFocus && !textInputFocus"},+{"key":"ctrl+shift+space","command":"workbench.action.chat.voiceInputMode.holdToTalk","when":"agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput || chatIsEnabled && config.agents.voice.enabled && inChatInput && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && config.agents.voice.useBYOKVoiceModel =~ /\\S/"},+{"key":"ctrl+w","command":"workbench.action.closeActiveEditor"},+{"key":"ctrl+f4","command":"workbench.action.closeActiveEditor"},+{"key":"ctrl+k ctrl+w","command":"workbench.action.closeAllEditors"},+{"key":"ctrl+k ctrl+shift+w","command":"workbench.action.closeAllGroups"},+{"key":"ctrl+k w","command":"workbench.action.closeEditorsInGroup"},+{"key":"ctrl+k f","command":"workbench.action.closeFolder","when":"emptyWorkspaceSupport && !isSessionsWindow && workbenchState != 'empty'"},+{"key":"ctrl+w","command":"workbench.action.closeGroup","when":"activeEditorGroupEmpty && multipleEditorGroups"},+{"key":"ctrl+f4","command":"workbench.action.closeGroup","when":"activeEditorGroupEmpty && multipleEditorGroups"},+{"key":"shift+escape","command":"workbench.action.closeQuickOpen","when":"inQuickOpen"},+{"key":"escape","command":"workbench.action.closeQuickOpen","when":"inQuickOpen"},+{"key":"ctrl+k u","command":"workbench.action.closeUnmodifiedEditors"},+{"key":"ctrl+shift+w","command":"workbench.action.closeWindow"},+{"key":"alt+f4","command":"workbench.action.closeWindow"},+{"key":"ctrl+w","command":"workbench.action.closeWindow","when":"!editorIsOpen && !multipleEditorGroups"},+{"key":"alt+f5","command":"workbench.action.compareEditor.nextChange","when":"textCompareEditorVisible"},+{"key":"ctrl+k shift+o","command":"workbench.action.compareEditor.openSide","when":"inDiffEditor"},+{"key":"shift+alt+f5","command":"workbench.action.compareEditor.previousChange","when":"textCompareEditorVisible"},+{"key":"ctrl+k o","command":"workbench.action.copyEditorToNewWindow","when":"activeEditor"},+{"key":"shift+f5","command":"workbench.action.debug.disconnect","when":"focusedSessionIsAttach && inDebugMode"},+{"key":"ctrl+shift+f5","command":"workbench.action.debug.restart","when":"inDebugMode"},+{"key":"ctrl+f5","command":"workbench.action.debug.run","when":"debuggersAvailable && debugState != 'initializing'"},+{"key":"f5","command":"workbench.action.debug.start","when":"debuggersAvailable && debugState == 'inactive'"},+{"key":"ctrl+f11","command":"workbench.action.debug.stepIntoTarget","when":"inDebugMode && stepIntoTargetsSupported && debugState == 'stopped'"},+{"key":"shift+f11","command":"workbench.action.debug.stepOut","when":"threadHasMultipleStackFrames && debugState == 'stopped'"},+{"key":"f10","command":"workbench.action.debug.stepOver","when":"debugState == 'stopped'"},+{"key":"shift+f5","command":"workbench.action.debug.stop","when":"inDebugMode && !focusedSessionIsAttach"},+{"key":"ctrl+k m","command":"workbench.action.editor.changeLanguageMode","when":"!notebookEditorFocused"},+{"key":"ctrl+alt+v","command":"workbench.action.editorDictation.start","when":"editorDictation.inProgress && hasSpeechProvider && !editorReadonly || hasSpeechProvider && !editorReadonly && !speechToTextInProgress || chatIsEnabled && chatSpeechToTextConfigured && editorDictation.inProgress && !editorReadonly || chatIsEnabled && chatSpeechToTextConfigured && !editorReadonly && !speechToTextInProgress"},+{"key":"ctrl+k p","command":"workbench.action.files.copyPathOfActiveFile"},+{"key":"ctrl+n","command":"workbench.action.files.newUntitledFile"},+{"key":"ctrl+o","command":"workbench.action.files.openFile","when":"false"},+{"key":"ctrl+o","command":"workbench.action.files.openFileFolder","when":"isMacNative && openFolderWorkspaceSupport"},+{"key":"ctrl+k ctrl+o","command":"workbench.action.files.openFolder","when":"openFolderWorkspaceSupport"},+{"key":"ctrl+o","command":"workbench.action.files.openFolderViaWorkspace","when":"!openFolderWorkspaceSupport && workbenchState == 'workspace'"},+{"key":"ctrl+o","command":"workbench.action.files.openLocalFileFolder","when":"remoteFileDialogVisible"},+{"key":"ctrl+k r","command":"workbench.action.files.revealActiveFileInWindows"},+{"key":"ctrl+s","command":"workbench.action.files.save"},+{"key":"ctrl+shift+s","command":"workbench.action.files.saveAs"},+{"key":"ctrl+shift+s","command":"workbench.action.files.saveLocalFile","when":"remoteFileDialogVisible"},+{"key":"ctrl+k ctrl+shift+s","command":"workbench.action.files.saveWithoutFormatting"},+{"key":"ctrl+shift+f","command":"workbench.action.findInFiles","when":"!isSessionsWindow"},+{"key":"ctrl+k ctrl+up","command":"workbench.action.focusAboveGroup"},+{"key":"ctrl+k ctrl+down","command":"workbench.action.focusBelowGroup"},+{"key":"ctrl+8","command":"workbench.action.focusEighthEditorGroup"},+{"key":"ctrl+5","command":"workbench.action.focusFifthEditorGroup"},+{"key":"ctrl+1","command":"workbench.action.focusFirstEditorGroup"},+{"key":"ctrl+4","command":"workbench.action.focusFourthEditorGroup"},+{"key":"ctrl+k ctrl+left","command":"workbench.action.focusLeftGroup"},+{"key":"f6","command":"workbench.action.focusNextPart"},+{"key":"shift+f6","command":"workbench.action.focusPreviousPart"},+{"key":"ctrl+k ctrl+right","command":"workbench.action.focusRightGroup"},+{"key":"ctrl+2","command":"workbench.action.focusSecondEditorGroup"},+{"key":"ctrl+7","command":"workbench.action.focusSeventhEditorGroup"},+{"key":"ctrl+0","command":"workbench.action.focusSideBar"},+{"key":"ctrl+6","command":"workbench.action.focusSixthEditorGroup"},+{"key":"ctrl+3","command":"workbench.action.focusThirdEditorGroup"},+{"key":"ctrl+g","command":"workbench.action.gotoLine"},+{"key":"ctrl+shift+o","command":"workbench.action.gotoSymbol","when":"!accessibilityHelpIsShown && !accessibleViewIsShown"},+{"key":"down","command":"workbench.action.interactivePlayground.arrowDown","when":"interactivePlaygroundFocus && !editorTextFocus"},+{"key":"up","command":"workbench.action.interactivePlayground.arrowUp","when":"interactivePlaygroundFocus && !editorTextFocus"},+{"key":"pagedown","command":"workbench.action.interactivePlayground.pageDown","when":"interactivePlaygroundFocus && !editorTextFocus"},+{"key":"pageup","command":"workbench.action.interactivePlayground.pageUp","when":"interactivePlaygroundFocus && !editorTextFocus"},+{"key":"ctrl+shift+s","command":"workbench.action.issueReporter.captureScreenshot","when":"issueReporterOpen"},+{"key":"ctrl+shift+r","command":"workbench.action.issueReporter.toggleRecording","when":"issueReporterOpen"},+{"key":"ctrl+k ctrl+shift+\\","command":"workbench.action.joinEditorInGroup","when":"sideBySideEditorActive"},+{"key":"ctrl+k enter","command":"workbench.action.keepEditor"},+{"key":"ctrl+9","command":"workbench.action.lastEditorInGroup"},+{"key":"alt+0","command":"workbench.action.lastEditorInGroup"},+{"key":"ctrl+k down","command":"workbench.action.moveActiveEditorGroupDown"},+{"key":"ctrl+k left","command":"workbench.action.moveActiveEditorGroupLeft"},+{"key":"ctrl+k right","command":"workbench.action.moveActiveEditorGroupRight"},+{"key":"ctrl+k up","command":"workbench.action.moveActiveEditorGroupUp"},+{"key":"ctrl+shift+pageup","command":"workbench.action.moveEditorLeftInGroup"},+{"key":"ctrl+shift+pagedown","command":"workbench.action.moveEditorRightInGroup"},+{"key":"shift+alt+1","command":"workbench.action.moveEditorToFirstGroup"},+{"key":"shift+alt+9","command":"workbench.action.moveEditorToLastGroup"},+{"key":"ctrl+alt+right","command":"workbench.action.moveEditorToNextGroup"},+{"key":"ctrl+alt+left","command":"workbench.action.moveEditorToPreviousGroup"},+{"key":"browserback","command":"workbench.action.navigateBack","when":"canNavigateBack"},+{"key":"alt+left","command":"workbench.action.navigateBack","when":"canNavigateBack"},+{"key":"browserforward","command":"workbench.action.navigateForward","when":"canNavigateForward"},+{"key":"alt+right","command":"workbench.action.navigateForward","when":"canNavigateForward"},+{"key":"ctrl+k ctrl+q","command":"workbench.action.navigateToLastEditLocation"},+{"key":"ctrl+shift+n","command":"workbench.action.newWindow"},+{"key":"ctrl+pagedown","command":"workbench.action.nextEditor"},+{"key":"ctrl+k ctrl+pagedown","command":"workbench.action.nextEditorInGroup"},+{"key":"ctrl+shift+a","command":"workbench.action.openAgentsWindow","when":"chatHasCreatedSessionInAgentsWindow && config.chat.agent.enabled && !accessibilityModeEnabled && !chatSetupDisabledInWorkspace && !chatSetupHidden && !isAuxiliaryWindow && !isSessionsWindow","args":{"source":"keyboardShortcut"}},+{"key":"ctrl+shift+alt+a","command":"workbench.action.openAgentsWindow","when":"accessibilityModeEnabled && chatHasCreatedSessionInAgentsWindow && config.chat.agent.enabled && !chatSetupDisabledInWorkspace && !chatSetupHidden && !isAuxiliaryWindow && !isSessionsWindow","args":{"source":"keyboardShortcut"}},+{"key":"ctrl+n","command":"workbench.action.openChat","when":"chatIsEnabled && inChat && inChatEditor"},+{"key":"alt+1","command":"workbench.action.openEditorAtIndex1"},+{"key":"alt+2","command":"workbench.action.openEditorAtIndex2"},+{"key":"alt+3","command":"workbench.action.openEditorAtIndex3"},+{"key":"alt+4","command":"workbench.action.openEditorAtIndex4"},+{"key":"alt+5","command":"workbench.action.openEditorAtIndex5"},+{"key":"alt+6","command":"workbench.action.openEditorAtIndex6"},+{"key":"alt+7","command":"workbench.action.openEditorAtIndex7"},+{"key":"alt+8","command":"workbench.action.openEditorAtIndex8"},+{"key":"alt+9","command":"workbench.action.openEditorAtIndex9"},+{"key":"ctrl+k ctrl+s","command":"workbench.action.openGlobalKeybindings"},+{"key":"ctrl+r","command":"workbench.action.openRecent"},+{"key":"ctrl+,","command":"workbench.action.openSettings"},+{"key":"ctrl+shift+u","command":"workbench.action.output.toggleOutput","when":"workbench.panel.output.active"},+{"key":"ctrl+k shift+enter","command":"workbench.action.pinEditor","when":"!activeEditorIsPinned"},+{"key":"ctrl+pageup","command":"workbench.action.previousEditor"},+{"key":"ctrl+k ctrl+pageup","command":"workbench.action.previousEditorInGroup"},+{"key":"ctrl+e","command":"workbench.action.quickOpen"},+{"key":"ctrl+p","command":"workbench.action.quickOpen"},+{"key":"ctrl+shift+tab","command":"workbench.action.quickOpenLeastRecentlyUsedEditorInGroup","when":"!activeEditorGroupEmpty"},+{"key":"ctrl+tab","command":"workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup","when":"!activeEditorGroupEmpty"},+{"key":"ctrl+q","command":"workbench.action.quickOpenView"},+{"key":"ctrl+shift+alt+l","command":"workbench.action.quickchat.toggle","when":"chatIsEnabled"},+{"key":"ctrl+alt+o","command":"workbench.action.remote.showMenu"},+{"key":"ctrl+shift+t","command":"workbench.action.reopenClosedEditor"},+{"key":"ctrl+shift+h","command":"workbench.action.replaceInFiles","when":"!isSessionsWindow"},+{"key":"ctrl+w","command":"workbench.action.restoreAuxiliaryBar","when":"auxiliaryBarMaximized"},+{"key":"ctrl+f4","command":"workbench.action.restoreAuxiliaryBar","when":"auxiliaryBarMaximized"},+{"key":"ctrl+shift+j","command":"workbench.action.search.toggleQueryDetails","when":"inSearchEditor || searchViewletFocus"},+{"key":"ctrl+k ctrl+t","command":"workbench.action.selectTheme"},+{"key":"ctrl+k ctrl+p","command":"workbench.action.showAllEditors"},+{"key":"ctrl+t","command":"workbench.action.showAllSymbols"},+{"key":"f1","command":"workbench.action.showCommands"},+{"key":"ctrl+shift+p","command":"workbench.action.showCommands"},+{"key":"ctrl+\\","command":"workbench.action.splitEditor"},+{"key":"ctrl+k ctrl+\\","command":"workbench.action.splitEditorDown"},+{"key":"ctrl+k ctrl+shift+\\","command":"workbench.action.splitEditorInGroup","when":"activeEditorCanSplitInGroup"},+{"key":"ctrl+k ctrl+\\","command":"workbench.action.splitEditorLeft"},+{"key":"ctrl+k ctrl+\\","command":"workbench.action.splitEditorOrthogonal"},+{"key":"ctrl+k ctrl+\\","command":"workbench.action.splitEditorRight"},+{"key":"ctrl+k ctrl+\\","command":"workbench.action.splitEditorUp"},+{"key":"ctrl+shift+b","command":"workbench.action.tasks.build","when":"taskCommandsRegistered"},+{"key":"ctrl+shift+r","command":"workbench.action.tasks.rerunForActiveTerminal","when":"taskTerminalActive && terminalFocus"},+{"key":"escape","command":"workbench.action.terminal.chat.close","when":"chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus"},+{"key":"ctrl+shift+alt+o","command":"workbench.action.terminal.chat.focusMostRecentChatTerminalOutput","when":"inChat"},+{"key":"ctrl+alt+enter","command":"workbench.action.terminal.chat.insertCommand","when":"chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks"},+{"key":"alt+enter","command":"workbench.action.terminal.chat.insertCommand","when":"chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks"},+{"key":"ctrl+alt+enter","command":"workbench.action.terminal.chat.insertFirstCommand","when":"chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest"},+{"key":"alt+enter","command":"workbench.action.terminal.chat.insertFirstCommand","when":"chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest"},+{"key":"ctrl+r","command":"workbench.action.terminal.chat.rerunRequest","when":"chatIsEnabled && terminalChatFocus && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatFocus && terminalProcessSupported && !terminalChatActiveRequest"},+{"key":"ctrl+enter","command":"workbench.action.terminal.chat.runCommand","when":"chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks"},+{"key":"ctrl+enter","command":"workbench.action.terminal.chat.runFirstCommand","when":"chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest"},+{"key":"escape","command":"workbench.action.terminal.clearSelection","when":"terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible"},+{"key":"ctrl+c","command":"workbench.action.terminal.copyAndClearSelection","when":"terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused"},+{"key":"ctrl+shift+c","command":"workbench.action.terminal.copySelection","when":"terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused"},+{"key":"f3","command":"workbench.action.terminal.findNext","when":"terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported"},+{"key":"shift+enter","command":"workbench.action.terminal.findNext","when":"terminalFindInputFocused && terminalHasBeenCreated || terminalFindInputFocused && terminalProcessSupported"},+{"key":"shift+f3","command":"workbench.action.terminal.findPrevious","when":"terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported"},+{"key":"enter","command":"workbench.action.terminal.findPrevious","when":"terminalFindInputFocused && terminalHasBeenCreated || terminalFindInputFocused && terminalProcessSupported"},+{"key":"ctrl+down","command":"workbench.action.terminal.focus","when":"accessibilityModeEnabled && accessibleViewOnLastLine && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibilityModeEnabled && accessibleViewOnLastLine && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"ctrl+up","command":"workbench.action.terminal.focusAccessibleBuffer","when":"accessibilityModeEnabled && terminalFocus && terminalHasBeenCreated || accessibilityModeEnabled && terminalFocus && terminalProcessSupported"},+{"key":"alt+f2","command":"workbench.action.terminal.focusAccessibleBuffer","when":"accessibilityModeEnabled && terminalFocus && terminalHasBeenCreated || accessibilityModeEnabled && terminalFocus && terminalProcessSupported"},+{"key":"ctrl+f","command":"workbench.action.terminal.focusFind","when":"terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported"},+{"key":"ctrl+k ctrl+i","command":"workbench.action.terminal.focusHover","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalIsOpen || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus"},+{"key":"ctrl+pagedown","command":"workbench.action.terminal.focusNext","when":"terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"},+{"key":"ctrl+pageup","command":"workbench.action.terminal.focusPrevious","when":"terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"},+{"key":"ctrl+shift+\\","command":"workbench.action.terminal.focusTabs","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus"},+{"key":"ctrl+g","command":"workbench.action.terminal.goToRecentDirectory","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"},+{"key":"shift+escape","command":"workbench.action.terminal.hideFind","when":"terminalFindVisible && terminalFocusInAny && terminalHasBeenCreated || terminalFindVisible && terminalFocusInAny && terminalProcessSupported"},+{"key":"escape","command":"workbench.action.terminal.hideFind","when":"terminalFindVisible && terminalFocusInAny && terminalHasBeenCreated || terminalFindVisible && terminalFocusInAny && terminalProcessSupported"},+{"key":"delete","command":"workbench.action.terminal.killActiveTab","when":"terminalHasBeenCreated && terminalTabsFocus || terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus"},+{"key":"ctrl+w","command":"workbench.action.terminal.killEditor","when":"terminalEditorFocus && terminalFocus && terminalHasBeenCreated || terminalEditorFocus && terminalFocus && terminalProcessSupported"},+{"key":"ctrl+f4","command":"workbench.action.terminal.killEditor","when":"terminalEditorFocus && terminalFocus && terminalHasBeenCreated || terminalEditorFocus && terminalFocus && terminalProcessSupported"},+{"key":"ctrl+shift+`","command":"workbench.action.terminal.new","when":"terminalProcessSupported || terminalWebExtensionContributedProfile"},+{"key":"ctrl+shift+alt+`","command":"workbench.action.terminal.newInNewWindow","when":"terminalHasBeenCreated || terminalProcessSupported"},+{"key":"ctrl+shift+c","command":"workbench.action.terminal.openNativeConsole","when":"!isSessionsWindow && !terminalFocus"},+{"key":"ctrl+shift+v","command":"workbench.action.terminal.paste","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"},+{"key":"ctrl+v","command":"workbench.action.terminal.paste","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"},+{"key":"f2","command":"workbench.action.terminal.renameActiveTab","when":"terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection"},+{"key":"ctrl+r","command":"workbench.action.terminal.runRecentCommand","when":"accessibilityModeEnabled && terminalFocus && terminalHasBeenCreated || accessibilityModeEnabled && terminalFocus && terminalProcessSupported || accessibilityModeEnabled && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibilityModeEnabled && accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"ctrl+alt+r","command":"workbench.action.terminal.runRecentCommand","when":"terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled"},+{"key":"ctrl+alt+pagedown","command":"workbench.action.terminal.scrollDown","when":"terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"},+{"key":"shift+pagedown","command":"workbench.action.terminal.scrollDownPage","when":"terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"},+{"key":"ctrl+end","command":"workbench.action.terminal.scrollToBottom","when":"terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"},+{"key":"ctrl+end","command":"workbench.action.terminal.scrollToBottomAccessibleView","when":"accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"ctrl+down","command":"workbench.action.terminal.scrollToNextCommand","when":"terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled"},+{"key":"ctrl+up","command":"workbench.action.terminal.scrollToPreviousCommand","when":"terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled"},+{"key":"ctrl+home","command":"workbench.action.terminal.scrollToTop","when":"terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"},+{"key":"ctrl+home","command":"workbench.action.terminal.scrollToTopAccessibleView","when":"accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"ctrl+alt+pageup","command":"workbench.action.terminal.scrollUp","when":"terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"},+{"key":"shift+pageup","command":"workbench.action.terminal.scrollUpPage","when":"terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"},+{"key":"ctrl+shift+down","command":"workbench.action.terminal.selectToNextCommand","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"},+{"key":"ctrl+shift+up","command":"workbench.action.terminal.selectToPreviousCommand","when":"terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"},+{"key":"ctrl+space","command":"workbench.action.terminal.sendSequence","when":"config.terminal.integrated.enableWin32InputMode && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'","args":{"text":"\u001b[24~a"}},+{"key":"alt+space","command":"workbench.action.terminal.sendSequence","when":"config.terminal.integrated.enableWin32InputMode && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'","args":{"text":"\u001b[24~b"}},+{"key":"shift+enter","command":"workbench.action.terminal.sendSequence","when":"config.terminal.integrated.enableWin32InputMode && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'","args":{"text":"\u001b[24~c"}},+{"key":"alt+up","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u001b[1;5A"}},+{"key":"alt+down","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u001b[1;5B"}},+{"key":"alt+right","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u001bf"}},+{"key":"alt+left","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u001bb"}},+{"key":"ctrl+alt+r","command":"workbench.action.terminal.sendSequence","when":"accessibilityModeEnabled && terminalFocus","args":{"text":"\u0012"}},+{"key":"ctrl+alt+g","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u0007"}},+{"key":"ctrl+backspace","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u0017"}},+{"key":"ctrl+delete","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u001bd"}},+{"key":"ctrl+shift+2","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u0000"}},+{"key":"ctrl+shift+6","command":"workbench.action.terminal.sendSequence","when":"terminalFocus","args":{"text":"\u001e"}},+{"key":"ctrl+.","command":"workbench.action.terminal.showQuickFixes","when":"terminalFocus"},+{"key":"alt+z","command":"workbench.action.terminal.sizeToContentWidth","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen || terminalFocus && terminalIsOpen && terminalProcessSupported"},+{"key":"ctrl+shift+5","command":"workbench.action.terminal.split","when":"terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"},+{"key":"ctrl+shift+5","command":"workbench.action.terminal.splitActiveTab","when":"terminalProcessSupported && terminalTabsFocus"},+{"key":"ctrl+alt+space","command":"workbench.action.terminal.suggestToggleDetailsFocus","when":"!textInputFocus"},+{"key":"alt+c","command":"workbench.action.terminal.toggleFindCaseSensitive","when":"terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported"},+{"key":"alt+r","command":"workbench.action.terminal.toggleFindRegex","when":"terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported"},+{"key":"alt+w","command":"workbench.action.terminal.toggleFindWholeWord","when":"terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported"},+{"key":"ctrl+`","command":"workbench.action.terminal.toggleTerminal","when":"terminal.active"},+{"key":"ctrl+alt+b","command":"workbench.action.toggleAuxiliaryBar"},+{"key":"shift+alt+0","command":"workbench.action.toggleEditorGroupLayout"},+{"key":"f11","command":"workbench.action.toggleFullScreen","when":"!isIOS"},+{"key":"ctrl+k ctrl+m","command":"workbench.action.toggleMaximizeEditorGroup","when":"editorPartMaximizedEditorGroup || editorPartMultipleEditorGroups"},+{"key":"ctrl+j","command":"workbench.action.togglePanel"},+{"key":"ctrl+b","command":"workbench.action.toggleSidebarVisibility","when":"!layoutMode"},+{"key":"ctrl+k z","command":"workbench.action.toggleZenMode","when":"!isAuxiliaryWindowFocusedContext"},+{"key":"ctrl+k shift+enter","command":"workbench.action.unpinEditor","when":"activeEditorIsPinned"},+{"key":"ctrl+numpad_add","command":"workbench.action.zoomIn"},+{"key":"ctrl+shift+=","command":"workbench.action.zoomIn"},+{"key":"ctrl+=","command":"workbench.action.zoomIn"},+{"key":"ctrl+numpad_subtract","command":"workbench.action.zoomOut"},+{"key":"ctrl+shift+-","command":"workbench.action.zoomOut"},+{"key":"ctrl+-","command":"workbench.action.zoomOut"},+{"key":"ctrl+numpad0","command":"workbench.action.zoomReset"},+{"key":"ctrl+shift+m","command":"workbench.actions.view.problems","when":"workbench.panel.markers.view.active"},+{"key":"escape","command":"workbench.actions.workbench.panel.output.clearFilterText","when":"outputFilterFocus"},+{"key":"escape","command":"workbench.banner.focusBanner","when":"bannerFocused"},+{"key":"down","command":"workbench.banner.focusNextAction","when":"bannerFocused"},+{"key":"right","command":"workbench.banner.focusNextAction","when":"bannerFocused"},+{"key":"up","command":"workbench.banner.focusPreviousAction","when":"bannerFocused"},+{"key":"left","command":"workbench.banner.focusPreviousAction","when":"bannerFocused"},+{"key":"ctrl+shift+y","command":"workbench.debug.action.toggleRepl","when":"workbench.panel.repl.view.active"},+{"key":"ctrl+c","command":"workbench.debug.viewlet.action.copyValue","when":"!expressionSelected && focusedView == 'workbench.debug.variablesView' || !expressionSelected && focusedView == 'workbench.debug.watchExpressionsView'"},+{"key":"ctrl+k c","command":"workbench.files.action.compareWithClipboard","when":"!isSessionsWindow"},+{"key":"ctrl+k d","command":"workbench.files.action.compareWithSaved"},+{"key":"ctrl+k e","command":"workbench.files.action.focusOpenEditorsView","when":"workbench.explorer.openEditorsView.active"},+{"key":"ctrl+alt+i","command":"workbench.panel.chat","when":"workbench.panel.chat.view.copilot.active"},+{"key":"escape","command":"workbench.statusBar.clearFocus","when":"statusBarFocused"},+{"key":"home","command":"workbench.statusBar.focusFirst","when":"statusBarFocused"},+{"key":"end","command":"workbench.statusBar.focusLast","when":"statusBarFocused"},+{"key":"down","command":"workbench.statusBar.focusNext","when":"statusBarFocused"},+{"key":"right","command":"workbench.statusBar.focusNext","when":"statusBarFocused"},+{"key":"up","command":"workbench.statusBar.focusPrevious","when":"statusBarFocused"},+{"key":"left","command":"workbench.statusBar.focusPrevious","when":"statusBarFocused"},+{"key":"ctrl+shift+d","command":"workbench.view.debug","when":"viewContainer.workbench.view.debug.enabled && !layoutMode"},+{"key":"ctrl+shift+e","command":"workbench.view.explorer","when":"viewContainer.workbench.view.explorer.enabled && !layoutMode"},+{"key":"ctrl+shift+x","command":"workbench.view.extensions","when":"viewContainer.workbench.view.extensions.enabled && !layoutMode"},+{"key":"ctrl+shift+g","command":"workbench.view.scm","when":"workbench.scm.active"},+{"key":"ctrl+shift+f","command":"workbench.view.search","when":"workbench.view.search.active && neverMatch =~ /doesNotMatch/"},+{"key":"delete","command":"agentSession.archive","when":"agentSessionChildCanArchive && agentSessionsViewerFocused && !agentSessionIsArchived || agentSessionsViewerFocused && !agentSessionIsArchived && !agentSessionIsChild"},+{"key":"shift+i","command":"agentSession.markRead","when":"agentSessionsViewerFocused && listFocus && !inputFocus && !isSessionsWindow && !treestickyScrollFocused"},+{"key":"shift+u","command":"agentSession.markUnread","when":"agentSessionsViewerFocused && listFocus && !inputFocus && !isSessionsWindow && !treestickyScrollFocused"},+{"key":"f2","command":"agentSession.rename","when":"agentSessionsViewerFocused && !agentSessionHasMultipleSelected && !agentSessionIsChild && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && !agentSessionIsChild && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && !agentSessionIsChild && chatSessionType =~ /^remote-/"},+{"key":"f2","command":"agentSession.rename","when":"chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus"},+{"key":"shift+delete","command":"agentSession.unarchive","when":"agentSessionChildCanArchive && agentSessionIsArchived && agentSessionsViewerFocused || agentSessionIsArchived && agentSessionsViewerFocused && !agentSessionIsChild"},+{"key":"ctrl+shift+m","command":"agentsVoice.toggleMute","when":"agentsVoiceConnected && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatInputHasFocus && chatIsEnabled && config.agents.voice.enabled || agentsVoiceConnected && agentsVoiceEntitled && chatInputHasFocus && chatIsEnabled && config.agents.voice.enabled && !isSessionsWindow || agentsVoiceConnected && agentsVoiceInitiatedHere && chatInputHasFocus && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && chatInputHasFocus && chatIsEnabled && config.agents.voice.enabled && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceEntitled && agentsVoiceInitiatedHere && chatInputHasFocus && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.useBYOKVoiceModel =~ /\\S/ || agentsVoiceConnected && agentsVoiceEntitled && chatInputHasFocus && chatIsEnabled && config.agents.voice.enabled && !isSessionsWindow && config.agents.voice.useBYOKVoiceModel =~ /\\S/"},+{"key":"ctrl+right","command":"breadcrumbs.focusNextWithPicker","when":"breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"ctrl+left","command":"breadcrumbs.focusPreviousWithPicker","when":"breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused"},+{"key":"escape","command":"breadcrumbs.selectEditor","when":"breadcrumbsActive && breadcrumbsVisible"},+{"key":"ctrl+y","command":"chatEditor.action.acceptHunk","when":"chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified"},+{"key":"ctrl+n","command":"chatEditor.action.undoHunk","when":"chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified"},+{"key":"tab","command":"editor.action.inlineSuggest.jump","when":"inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible"},+{"key":"escape","command":"inlineChat2.cancel","when":"chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'"},+{"key":"escape","command":"inlineChat2.close","when":"chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'"},+{"key":"f3","command":"list.find.replInputFocus","when":"view == 'workbench.panel.repl.view'"},+{"key":"ctrl+alt+f","command":"list.find.replInputFocus","when":"view == 'workbench.panel.repl.view'"},+{"key":"down","command":"notebook.cell.nullAction","when":"notebookOutputInputFocused"},+{"key":"up","command":"notebook.cell.nullAction","when":"notebookOutputInputFocused"},+{"key":"ctrl+a","command":"notebook.cell.output.selectAll","when":"notebookEditorFocused && notebookOutputFocused"},+{"key":"f3","command":"notebook.findNext.fromWidget","when":"findWidgetVisible && notebookEditorFocused"},+{"key":"shift+f3","command":"notebook.findPrevious.fromWidget","when":"findWidgetVisible && notebookEditorFocused"},+{"key":"ctrl+pagedown","command":"notebook.focusNextEditor","when":"accessibilityModeEnabled && notebookCellEditorFocused"},+{"key":"ctrl+pageup","command":"notebook.focusPreviousEditor","when":"accessibilityModeEnabled && notebookCellEditorFocused"},+{"key":"ctrl+shift+a","command":"notification.acceptPrimaryAction","when":"accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible"},+{"key":"up","command":"settings.action.focusSearchFromSettings","when":"inSettingsEditor && settingFirstRowFocus && settingRowFocus"},+{"key":"down","command":"settings.action.focusSettingsFromSearch","when":"inSettingsSearch && !suggestWidgetVisible"},+{"key":"up","command":"settings.action.showPreviousSearch","when":"inSettingsSearch && !suggestWidgetVisible"},+{"key":"ctrl+/","command":"terminalSuggestToggleExplainMode","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"},+{"key":"ctrl+k down","command":"views.moveViewDown","when":"focusedView != ''"},+{"key":"ctrl+k left","command":"views.moveViewLeft","when":"focusedView != ''"},+{"key":"ctrl+k right","command":"views.moveViewRight","when":"focusedView != ''"},+{"key":"ctrl+k up","command":"views.moveViewUp","when":"focusedView != ''"},+{"key":"ctrl+enter","command":"workbench.action.chat.acceptElicitation","when":"chatHasElicitationRequest && inChat"},+{"key":"ctrl+enter","command":"workbench.action.chat.acceptTool","when":"chatHasToolConfirmation && inChat"},+{"key":"escape","command":"workbench.action.chat.cancelSpeechToText","when":"chatSpeechToTextRecording && inChatInput"},+{"key":"ctrl+shift+t","command":"workbench.action.chat.focusTodosView","when":"inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'"},+{"key":"ctrl+l","command":"workbench.action.chat.newChat","when":"chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'"},+{"key":"ctrl+n","command":"workbench.action.chat.newChat","when":"chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'"},+{"key":"ctrl+enter","command":"workbench.action.chat.openSessionInEditorGroup","when":"agentSessionsViewerFocused && !isSessionsWindow"},+{"key":"ctrl+alt+enter","command":"workbench.action.chat.openSessionInNewEditorGroup","when":"agentSessionsViewerFocused && !isSessionsWindow"},+{"key":"ctrl+alt+enter","command":"workbench.action.chat.skipTool","when":"chatHasToolConfirmation && inChat"},+{"key":"ctrl+i","command":"workbench.action.chat.toggleSpeechToText","when":"chatIsEnabled && chatSpeechToTextConfigured && inChatInput && !chatTranscriptProgressActive && !editorFocus && !notebookEditorFocused"},+{"key":"escape","command":"workbench.action.closeModalEditor","when":"editorPartModal && listFocus && !treeFindOpen && !treestickyScrollFocused"},+{"key":"ctrl+pagedown","command":"workbench.action.debug.nextConsole","when":"inDebugRepl"},+{"key":"ctrl+pageup","command":"workbench.action.debug.prevConsole","when":"inDebugRepl"},+{"key":"enter","command":"workbench.action.terminal.acceptSelectedSuggestion","when":"simpleSuggestWidgetExplicitlyInvoked && simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetExplicitlyInvoked && simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetFirstSuggestionFocused || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.selectionMode != 'partial' || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetFirstSuggestionFocused || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.selectionMode != 'partial'"},+{"key":"enter","command":"workbench.action.terminal.acceptSelectedSuggestionEnter","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.runOnEnter != 'never' || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.runOnEnter != 'never'"},+{"key":"alt+down","command":"workbench.action.terminal.focusNextPane","when":"terminalFocus && terminalHasBeenCreated && terminalSplitPaneActive || terminalFocus && terminalProcessSupported && terminalSplitPaneActive"},+{"key":"alt+right","command":"workbench.action.terminal.focusNextPane","when":"terminalFocus && terminalHasBeenCreated && terminalSplitPaneActive || terminalFocus && terminalProcessSupported && terminalSplitPaneActive"},+{"key":"alt+up","command":"workbench.action.terminal.focusPreviousPane","when":"terminalFocus && terminalHasBeenCreated && terminalSplitPaneActive || terminalFocus && terminalProcessSupported && terminalSplitPaneActive"},+{"key":"alt+left","command":"workbench.action.terminal.focusPreviousPane","when":"terminalFocus && terminalHasBeenCreated && terminalSplitPaneActive || terminalFocus && terminalProcessSupported && terminalSplitPaneActive"},+{"key":"escape","command":"workbench.action.terminal.hideSuggestWidget","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"},+{"key":"ctrl+shift+o","command":"workbench.action.terminal.openDetectedLink","when":"terminalFocus && terminalHasBeenCreated"},+{"key":"ctrl+shift+g","command":"workbench.action.terminal.openDetectedLink","when":"accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"pagedown","command":"workbench.action.terminal.selectNextPageSuggestion","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"},+{"key":"down","command":"workbench.action.terminal.selectNextSuggestion","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"},+{"key":"pageup","command":"workbench.action.terminal.selectPrevPageSuggestion","when":"terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"},+{"key":"up","command":"workbench.action.terminal.selectPrevSuggestion","when":"simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory"},+{"key":"ctrl+space","command":"workbench.action.terminal.triggerSuggest","when":"config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible"},+{"key":"ctrl+shift+down","command":"workbench.chat.action.focusLastFocused","when":"inChat && inChatInput && quickChatHasFocus"},+{"key":"tab","command":"editor.action.inlineSuggest.commit","when":"inInlineEditsPreviewEditor"},+{"key":"f6","command":"workbench.action.debug.pause","when":"debugState == 'running'"},+{"key":"tab","command":"workbench.action.terminal.acceptSelectedSuggestion","when":"simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"},+{"key":"alt+down","command":"workbench.action.terminal.accessibleBufferGoToNextCommand","when":"accessibleViewIsShown && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"alt+up","command":"workbench.action.terminal.accessibleBufferGoToPreviousCommand","when":"accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"},+{"key":"up","command":"workbench.action.terminal.hideSuggestWidgetAndNavigateHistory","when":"config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated"},+{"key":"shift+tab","command":"editor.action.inlineSuggest.commitAlternativeAction","when":"inInlineEditsPreviewEditor"},+{"key":"shift+tab","command":"editor.action.inlineSuggest.commitAlternativeAction","when":"inlineEditIsVisible && inlineSuggestionAlternativeActionVisible"},+{"key":"f2","command":"debug.renameWatchExpression","when":"watchExpressionsFocused"},+{"key":"f2","command":"debug.setVariable","when":"variablesFocused"},+{"key":"space","command":"debug.toggleBreakpoint","when":"breakpointsFocused && !inputFocus"},+{"key":"ctrl+up","command":"interactive.history.focus","when":"isCompositeNotebook && !notebookEditorFocused && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'"},+{"key":"escape","command":"notebook.cell.quitEdit","when":"notebookEditorFocused && notebookOutputFocused"},+{"key":"alt+home alt+home","command":"repl.input.focus","when":"mostRecentReplEditor"},+{"key":"ctrl+v","command":"filesExplorer.paste","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus"},+{"key":"ctrl+shift+y","command":"chatEditor.action.accept","when":"chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified"},+{"key":"ctrl+alt+y","command":"chatEditor.action.acceptAllEdits","when":"chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified"},+{"key":"ctrl+shift+n","command":"chatEditor.action.reject","when":"chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified"},+{"key":"shift+delete","command":"deleteFile","when":"filesExplorerFocus && foldersViewVisible && !inputFocus"},+{"key":"delete","command":"deleteFile","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !inputFocus"},+{"key":"ctrl+shift+.","command":"editor.action.accessibleViewGoToSymbol","when":"accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown"},+{"key":"ctrl+shift+o","command":"editor.action.accessibleViewGoToSymbol","when":"accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown"},+{"key":"ctrl+shift+alt+g","command":"editor.action.announceCursorPosition","when":"accessibilityModeEnabled && editorTextFocus"},+{"key":"ctrl+e","command":"editor.action.toggleScreenReaderAccessibilityMode","when":"accessibilityHelpIsShown"},+{"key":"shift+alt+f1","command":"editor.action.toggleScreenReaderAccessibilityMode"},+{"key":"escape","command":"editor.closeCallHierarchy","when":"callHierarchyVisible && !config.editor.stablePeek"},+{"key":"escape","command":"editor.closeTypeHierarchy","when":"typeHierarchyVisible && !config.editor.stablePeek"},+{"key":"enter","command":"explorer.openAndPassFocus","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus"},+{"key":"escape","command":"filesExplorer.cancelCut","when":"explorerResourceCut && filesExplorerFocus && foldersViewVisible && !inputFocus"},+{"key":"ctrl+c","command":"filesExplorer.copy","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus"},+{"key":"ctrl+x","command":"filesExplorer.cut","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"},+{"key":"space","command":"filesExplorer.openFilePreserveFocus","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus"},+{"key":"home","command":"firstCompressedFolder","when":"explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus"},+{"key":"ctrl+enter","command":"inlineChat2.keep","when":"chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'"},+{"key":"end","command":"lastCompressedFolder","when":"explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus"},+{"key":"ctrl+shift+t","command":"mergeEditor.toggleBetweenInputs","when":"isMergeEditor"},+{"key":"delete","command":"moveFileToTrash","when":"explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !inputFocus"},+{"key":"right","command":"nextCompressedFolder","when":"explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus"},+{"key":"left","command":"previousCompressedFolder","when":"explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus"},+{"key":"delete","command":"remote.tunnel.closeInline","when":"tunnelCloseable && tunnelViewFocus"},+{"key":"ctrl+c","command":"remote.tunnel.copyAddressInline","when":"tunnelViewFocus && tunnelType == 'Detected' && tunnelViewMultiSelection == 'undefined' || tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'"},+{"key":"f2","command":"remote.tunnel.label","when":"tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'"},+{"key":"f2","command":"renameFile","when":"filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"},+{"key":"escape","command":"workbench.action.closeModalEditor","when":"editorPartModal && !editorFocus && !listFocus"},+{"key":"f5","command":"workbench.action.debug.continue","when":"debugState == 'stopped'"},+{"key":"f11","command":"workbench.action.debug.stepInto","when":"debugState != 'inactive'"},+{"key":"alt+down","command":"workbench.action.navigateModalEditorNext","when":"editorPartModal && editorPartModalNavigation"},+{"key":"alt+up","command":"workbench.action.navigateModalEditorPrevious","when":"editorPartModal && editorPartModalNavigation"},+{"key":"escape","command":"imageCarousel.finishMarkUp","when":"imageCarouselMarkingUp"},+{"key":"shift+escape","command":"closeReferenceSearch","when":"editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus"},+{"key":"escape","command":"closeReferenceSearch","when":"editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus"},+{"key":"left","command":"list.stickyScroll.collapse","when":"treestickyScrollFocused"},+{"key":"enter","command":"list.stickyScrollselect","when":"treestickyScrollFocused"},+{"key":"space","command":"list.stickyScrolltoggleExpand","when":"treestickyScrollFocused"},+{"key":"escape","command":"notifications.hideList","when":"notificationCenterVisible"},+{"key":"ctrl+alt+win+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"ctrl+alt+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"ctrl+win+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"ctrl+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"alt+win+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"win+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"alt+right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"right","command":"quickInput.acceptInBackground","when":"cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'"},+{"key":"ctrl+alt+c","command":"workbench.action.browser.addElementCommentToChat","when":"browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'","args":{"continuous":true,"mode":"comment","highlightFocusedElement":true}},+{"key":"ctrl+shift+c","command":"workbench.action.browser.addElementToChat","when":"browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'","args":{"highlightFocusedElement":true}},+{"key":"browserback","command":"workbench.action.browser.goBack","when":"browserCanGoBack && activeEditor == 'workbench.editor.browser'"},+{"key":"alt+left","command":"workbench.action.browser.goBack","when":"browserCanGoBack && activeEditor == 'workbench.editor.browser'"},+{"key":"browserforward","command":"workbench.action.browser.goForward","when":"browserCanGoForward && activeEditor == 'workbench.editor.browser'"},+{"key":"alt+right","command":"workbench.action.browser.goForward","when":"browserCanGoForward && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+t","command":"workbench.action.browser.newTab","when":"activeEditor == 'workbench.editor.browser'"},+{"key":"alt+left","command":"workbench.action.quickInputBack","when":"inQuickOpen"},+{"key":"ctrl+tab","command":"workbench.action.quickOpenNavigateNextInEditorPicker","when":"inEditorsPicker && inQuickOpen"},+{"key":"ctrl+e","command":"workbench.action.quickOpenNavigateNextInFilePicker","when":"inFilesPicker && inQuickOpen"},+{"key":"ctrl+p","command":"workbench.action.quickOpenNavigateNextInFilePicker","when":"inFilesPicker && inQuickOpen"},+{"key":"ctrl+r","command":"workbench.action.quickOpenNavigateNextInRecentFilesPicker","when":"inQuickOpen && inRecentFilesPicker"},+{"key":"ctrl+q","command":"workbench.action.quickOpenNavigateNextInViewPicker","when":"inQuickOpen && inViewsPicker"},+{"key":"ctrl+shift+tab","command":"workbench.action.quickOpenNavigatePreviousInEditorPicker","when":"inEditorsPicker && inQuickOpen"},+{"key":"ctrl+shift+e","command":"workbench.action.quickOpenNavigatePreviousInFilePicker","when":"inFilesPicker && inQuickOpen"},+{"key":"ctrl+shift+p","command":"workbench.action.quickOpenNavigatePreviousInFilePicker","when":"inFilesPicker && inQuickOpen"},+{"key":"ctrl+shift+r","command":"workbench.action.quickOpenNavigatePreviousInRecentFilesPicker","when":"inQuickOpen && inRecentFilesPicker"},+{"key":"ctrl+shift+q","command":"workbench.action.quickOpenNavigatePreviousInViewPicker","when":"inQuickOpen && inViewsPicker"},+{"key":"ctrl+r","command":"workbench.action.reloadWindow","when":"isDevelopment"},+{"key":"ctrl+shift+f","command":"workbench.action.terminal.searchWorkspace","when":"terminalFocus && terminalProcessSupported && terminalTextSelected"},+{"key":"ctrl+shift+i","command":"workbench.action.toggleDevTools","when":"isDevelopment"},+{"key":"ctrl+f5","command":"workbench.action.browser.hardReload","when":"browserFocused && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+shift+r","command":"workbench.action.browser.hardReload","when":"browserFocused && activeEditor == 'workbench.editor.browser'"},+{"key":"f5","command":"workbench.action.browser.reload","when":"browserFocused && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+r","command":"workbench.action.browser.reload","when":"browserFocused && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+numpad0","command":"workbench.action.browser.resetZoom","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+numpad_add","command":"workbench.action.browser.zoomIn","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+shift+=","command":"workbench.action.browser.zoomIn","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+=","command":"workbench.action.browser.zoomIn","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+numpad_subtract","command":"workbench.action.browser.zoomOut","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+shift+-","command":"workbench.action.browser.zoomOut","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"ctrl+-","command":"workbench.action.browser.zoomOut","when":"browserFocused && browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'"},+{"key":"escape","command":"notifications.hideToasts","when":"notificationFocus && notificationToastsVisible"},+{"key":"escape","command":"workbench.action.chat.stopListening","when":"voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'","weight":300},+{"key":"escape","command":"workbench.action.chat.stopReadChatItemAloud","when":"scopedChatSynthesisInProgress","weight":300},+{"key":"escape","command":"workbench.action.speech.stopReadAloud","when":"scopedChatSynthesisInProgress && textToSpeechInProgress","weight":300},+{"key":"ctrl+enter","command":"workbench.action.chat.applyInEditor","when":"accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput","weight":401},+{"key":"ctrl+enter","command":"workbench.action.chat.insertCodeBlock","when":"accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput","weight":401},+{"key":"ctrl+i","command":"workbench.action.terminal.chat.start","when":"chatIsEnabled && terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || chatIsEnabled && terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported","weight":401},+{"key":"ctrl+enter","command":"chat.inlineResourceAnchor.openToSide","when":"chatAttachmentResource","weight":402},+{"key":"ctrl+i","command":"workbench.action.terminal.suggestToggleDetails","when":"simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible","weight":402},+{"key":"ctrl+space","command":"workbench.action.terminal.suggestToggleDetails","when":"simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible","weight":402},+{"key":"ctrl+.","command":"acceptSelectedCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"enter","command":"acceptSelectedCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"left","command":"collapseSectionCodeAction","when":"codeActionMenuVisible && !codeActionMenuFilterFocused","weight":1100},+{"key":"right","command":"expandSectionCodeAction","when":"codeActionMenuVisible && !codeActionMenuFilterFocused","weight":1100},+{"key":"shift+escape","command":"hideCodeActionWidget","when":"codeActionMenuVisible","weight":1100},+{"key":"escape","command":"hideCodeActionWidget","when":"codeActionMenuVisible","weight":1100},+{"key":"ctrl+enter","command":"previewSelectedCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"ctrl+down","command":"selectNextCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"down","command":"selectNextCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"ctrl+up","command":"selectPrevCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"up","command":"selectPrevCodeAction","when":"codeActionMenuVisible","weight":1100},+{"key":"space","command":"toggleSectionCodeAction","when":"codeActionMenuVisible && !codeActionMenuFilterFocused","weight":1100},+{"key":"escape","command":"clearFilterCodeActionWidget","when":"codeActionMenuFilterFocused && codeActionMenuVisible","weight":1101},+{"key":"escape","command":"diffEditor.exitCompareMove","when":"comparingMovedCode","weight":10000}+]diff --git a/native/crates/app/src/keybindings/tests.rs b/native/crates/app/src/keybindings/tests.rsindex dd984e69195..ea1aee6bca5 100644--- a/native/crates/app/src/keybindings/tests.rs+++ b/native/crates/app/src/keybindings/tests.rs@@ -1,12 +1,12 @@//! Ported from platform/keybinding/test/common/keybindingResolver.test.ts and keybindingLabels.test.ts, and//! base/test/common/keybindings.test.ts. Keybindings are written as user settings strings instead of-//! `KeyMod | KeyCode` numbers; the macOS cases only, as the port runs on macOS.+//! `KeyMod | KeyCode` numbers; the macOS cases, and the Windows and Linux label cases through the `_in(os)` labels.use std::collections::HashMap;use serde_json::{Value, json};-use super::{Item, Resolution, Resolver, aria_label, label, parse_keybinding, user_settings_label};+use super::{Item, Os, Resolution, Resolver, aria_label, label, parse_keybinding, user_settings_label};use crate::contextkey::Expr;fn context(values: &[(&str, Value)]) -> HashMap<String, Value> {@@ -408,3 +408,83 @@ fn invalid_contributed_keybindings_are_extension_messages() {let messages: Vec<String> = crate::perf::messages(&extension.id).into_iter().map(|(_, message)| message).collect();assert_eq!(messages, ["Invalid `contributes.keybindings`: property `command` is mandatory and must be of type `string`", "Invalid `contributes.keybindings`: property `when` can be omitted or must be of type `string`"]);}++/// keybindingLabels.test.ts 'Windows US label' and 'Linux US label' (`KeyMod.CtrlCmd` is ctrl there, `WinCtrl` the Meta key).+#[test]+fn windows_and_linux_us_labels() {+ let label_in = |os, keybinding: &str| parse_keybinding(keybinding).iter().map(|chord| chord.label_in(os)).collect::<Vec<_>>().join(" ");+ for (os, meta) in [(Os::Windows, "Windows"), (Os::Linux, "Super")] {+ for (keybinding, expected) in [+ ("a", "A".to_string()),+ ("ctrl+a", "Ctrl+A".into()),+ ("shift+a", "Shift+A".into()),+ ("alt+a", "Alt+A".into()),+ ("win+a", format!("{meta}+A")),+ ("ctrl+shift+a", "Ctrl+Shift+A".into()),+ ("ctrl+alt+a", "Ctrl+Alt+A".into()),+ ("ctrl+win+a", format!("Ctrl+{meta}+A")),+ ("shift+alt+a", "Shift+Alt+A".into()),+ ("shift+win+a", format!("Shift+{meta}+A")),+ ("alt+win+a", format!("Alt+{meta}+A")),+ ("ctrl+shift+alt+a", "Ctrl+Shift+Alt+A".into()),+ ("ctrl+shift+win+a", format!("Ctrl+Shift+{meta}+A")),+ ("ctrl+alt+win+a", format!("Ctrl+Alt+{meta}+A")),+ ("shift+alt+win+a", format!("Shift+Alt+{meta}+A")),+ ("ctrl+shift+alt+win+a", format!("Ctrl+Shift+Alt+{meta}+A")),+ ("ctrl+a ctrl+b", "Ctrl+A Ctrl+B".into()),+ ("left", "LeftArrow".into()),+ ] {+ assert_eq!(label_in(os, keybinding), expected, "{os:?} {keybinding}");+ }+ }+ assert_eq!(parse_keybinding("ctrl+shift+p")[0].key_caps_in(Os::Windows), ["Ctrl", "Shift", "P"]);+}++/// keybindingLabels.test.ts 'Aria label', 'Electron Accelerator label' and 'User Settings label' on Windows and Linux.+#[test]+fn windows_and_linux_aria_electron_and_user_settings_labels() {+ let all = parse_keybinding("ctrl+shift+alt+win+a");+ assert_eq!(all[0].aria_label_in(Os::Windows), "Control+Shift+Alt+Windows+A");+ assert_eq!(all[0].aria_label_in(Os::Linux), "Control+Shift+Alt+Super+A");+ assert_eq!(super::electron_accelerator_in(Os::Windows, &all).as_deref(), Some("Ctrl+Shift+Alt+Super+A"));+ assert_eq!(super::electron_accelerator_in(Os::Windows, &parse_keybinding("ctrl+a ctrl+b")), None);+ assert_eq!(super::electron_accelerator_in(Os::Windows, &parse_keybinding("numpad1")), None);+ assert_eq!(all[0].user_settings_label_in(Os::Windows), "ctrl+shift+alt+win+a");+ assert_eq!(all[0].user_settings_label_in(Os::Linux), "ctrl+shift+alt+meta+a");+}++/// The Windows default table (default-win.json, the reference's doc.keybindings.win.json): Ctrl where macOS has Cmd,+/// and Windows' own rules such as Ctrl+Y for redo.+#[test]+fn windows_default_table_binds_ctrl_keys() {+ let resolver = Resolver::new(super::default_keybindings_in(Os::Windows, &[]), vec![]);+ let editor = context(&[("textInputFocus", json!(true)), ("editorTextFocus", json!(true))]);+ let command = |context: &HashMap<String, Value>, key: &str| match resolver.resolve(context, &[], chord(key)) {+ Resolution::KbFound { command, .. } => command,+ other => format!("{other:?}"),+ };+ assert_eq!(command(&context(&[]), "ctrl+shift+p"), "workbench.action.showCommands");+ assert_eq!(command(&editor, "ctrl+c"), "editor.action.clipboardCopyAction");+ assert_eq!(command(&editor, "ctrl+right"), "cursorWordEndRight");+ assert_eq!(command(&editor, "ctrl+y"), "redo");+ assert_ne!(command(&context(&[]), "shift+win+p"), "workbench.action.showCommands");+ assert_eq!(resolver.resolve(&context(&[]), &[], chord("ctrl+k")), Resolution::MoreChordsNeeded);+}++/// keybindingService.ts `bindToCurrentPlatform`: the rule's `win`, `mac` or `linux` key on its platform, else `key`.+#[test]+fn contributed_keybindings_use_the_platform_key() {+ let description = json!({ "contributes": { "keybindings": [+ { "command": "a.run", "key": "ctrl+1", "mac": "cmd+1", "win": "alt+1", "linux": "shift+1" },+ { "command": "b.run", "key": "ctrl+2", "win": "" },+ ] } });+ let extension = exthost::scan::ScannedExtension { id: "test.platform-keys".into(), location: "/x".into(), description };+ let key = |os| {+ let items = super::default_keybindings_in(os, std::slice::from_ref(&extension));+ let label = |command: &str| items.iter().find(|item| item.command == command).map(|item| item.keybinding[0].user_settings_label_in(Os::Linux));+ (label("a.run"), label("b.run"))+ };+ assert_eq!(key(Os::Windows), (Some("alt+1".into()), Some("ctrl+2".into())));+ assert_eq!(key(Os::Macintosh), (Some("meta+1".into()), Some("ctrl+2".into())));+ assert_eq!(key(Os::Linux), (Some("shift+1".into()), Some("ctrl+2".into())));+}diff --git a/port/ledger.md b/port/ledger.mdindex 29809c1d7ff..02f99675172 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -79,7 +79,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| M24 Windows | exthost/src/main_thread_secret_state.rs:19 | in progress | [windows S] secrets in Credential Manager (keyring), with keytar's target name `<service>/<account>` so VS Code's stored secrets keep their keys. Done and cross-built, never run: main_thread_secret_state/windows.rs (generic credentials, user name the account, blob the UTF-8 secret, `CRED_PERSIST_ENTERPRISE`, keys from `CredEnumerateW` on `<service>/*`); the runner test `secrets_in_credential_manager` uses a service of its own. Difference: a secret over 2560 bytes (`CRED_MAX_CREDENTIAL_BLOB_SIZE`) fails to store, as with keytar, where upstream's safeStorage has no limit. | `cargo gc test -p exthost secret` on the windows runner || M24 Windows | exthost/src/request.rs:9 | in progress | [windows M] extension and gallery HTTP with the system proxy (request/windows.rs): the session proxy (`http.proxy`, `http.noProxy`, the proxy variables) else the IE settings of `WinHttpGetIEProxyConfigForCurrentUser`, WPAD and the PAC URL through `WinHttpGetProxyForUrl` first, then the manual proxy, as Chromium's ProxyConfigServiceWin `SetFromIEConfig`; rules and bypass lists (`<local>`, `<-loopback>`, wildcards, ports, schemes, CIDR blocks, the implicit localhost and link-local bypass) as proxy_config.cc and proxy_bypass_rules.cc (request/proxy_rules.rs); curl gets the first proxy of the list, without Chromium's fallback to the next; no Kerberos (SSPI). Built, not yet run on Windows. | `cargo gc test -p exthost proxy_rules` on the host; [windows] `cargo gc test -p exthost request` and a request through a PAC and a manual proxy on the windows runner || M24 Windows | app/src/workbench/menubar.rs:173 | open | [windows L] menu bar in the custom title bar (menubarControl.ts `CustomMenubarControl`, `window.titleBarStyle: custom`, `window.menuBarVisibility`) and the window controls (minimize, maximize, close) titlebarPart.ts draws on Windows. The shared mechanism is M24's (decision "Menu bar and keybinding tables"); it unblocks the M23 Linux row app/src/workbench/menubar.rs:173. Windows shows now: no menu bar. | `cargo gc test -p app menubar` on the host; a ui-pair against the reference not possible (macOS reference) |-| M24 Windows | app/src/keybindings.rs:86 | open | [windows L] Windows keybindings: `default-win` table, the `win` key of extension and user rules, Windows labels (keybindingLabels.ts for `OperatingSystem.Windows`: `Ctrl+Shift+P`, `Windows`, `win`), and windowsKeyboardMapper.ts for layouts. The per-platform mechanism is M24's (decision "Menu bar and keybinding tables"), with a Linux table hook; it unblocks the M23 Linux row app/src/keybindings.rs:86. Windows shows now: the macOS table on GPUI's platform modifier (Ctrl). | `cargo gc test -p app keybindings` on the host with the Windows table |+| M24 Windows | app/src/keybindings.rs:86 | in progress | [windows M] windowsKeyboardMapper.ts for non-US layouts; Windows shows now: US-layout labels for every layout. Done: the per-platform mechanism (`Os`, `default_table` with the Linux hook for M23), `default-win.json` generated by `port/tools/default-keybindings` from the reference's Windows export, the `win` key of contributed rules, the Windows labels (keybindingLabels.ts `OperatingSystem.Windows`). | `cargo gc test -p app keybindings` on the host: `windows_default_table_binds_ctrl_keys`, `contributed_keybindings_use_the_platform_key`, `windows_and_linux_us_labels`, `windows_and_linux_aria_electron_and_user_settings_labels`; x64 and arm64 cross builds || M24 Windows | app/src/keyboard_layout.rs:7 | open | [windows M] keyboard layout info and raw mapping (native-keymap's Windows `GetKeyboardLayout`, `MapVirtualKeyEx`, `ToUnicodeEx`). | `cargo gc test -p app keyboard` on the windows runner || M24 Windows | app/src/clipboard.rs:91 | open | [windows M] clipboard file lists, HTML and custom formats (Chromium's registered clipboard formats); GPUI's Windows clipboard has text and images. Windows shows now: text only. | `cargo gc test -p app clipboard` on the windows runner || M24 Windows | files/src/disk.rs:58 | open | [windows M] file system on NTFS: read-only through `FILE_ATTRIBUTE_READONLY`, file and directory symlinks, case-insensitive path compare, Recycle Bin (trash crate), ReadDirectoryChangesW (notify); Windows versions of the `cfg(unix)` tests that lock files or folders or make symlinks (readonly, text_files, explorer_actions, terminal completion_service). | `cargo gc test -p files` on the windows runner |diff --git a/port/notes.md b/port/notes.mdindex 0d14f0450f7..32dd08222bc 100644--- a/port/notes.md+++ b/port/notes.md@@ -1023,6 +1023,7 @@ What to do (milestone 21, in order):- Console: the app is a GUI-subsystem binary, as Electron's, so a start from Explorer or the Start menu opens no console window; at start it attaches to the console of the process that started it unless the output is redirected or the CLI set `ELECTRON_NO_ATTACH_CONSOLE` (electron_main_win.cc, Chromium's `RouteStdioToConsole`), so `bin\<applicationName>.cmd --help` prints in the terminal.- Proxy: `request/windows.rs` sends through curl.exe as Linux does, with the proxy picked first: the session proxy, else the IE settings, auto-detect and the PAC URL through WinHTTP's resolver where Chromium runs the script in its own V8 (same answer, other engine), then the manual proxy. The rule and bypass parsing is Chromium's (`request/proxy_rules.rs`, built on every platform for its host tests). Difference: curl takes one proxy, so a PAC list's later entries are no fallback.- File URIs: `uri.rs` `Uri::file` and `fs_path` are uri.ts `URI.file` and `uriToFsPath`, with the platform a parameter so the host tests check the Windows branches. The editor's model URIs take them on Windows only: elsewhere the port keeps a `//host/a` model path in the URI path (editor.rs `a_non_file_uri_keeps_its_authority`) where upstream makes `host` the authority.+- Keybindings: `keybindings.rs` `Os` is platform.ts `OperatingSystem`, `OS` the build's; labels, the Electron accelerator and contributed rules (`win`, `mac`, `linux` before `key`, keybindingService.ts `bindToCurrentPlatform`) take it as a parameter so the host tests check Windows. `default-win.json` is the reference's own Windows export ("Developer: Export Default Keybindings" with the platform forced, keybindingsExport.contribution.ts) turned into the port's table by `port/tools/default-keybindings`, which reproduces `default-macos.json` byte for byte from the macOS export; the weights come from the macOS rows. Linux keeps the macOS table until M23 adds `default-linux.json` in `default_table`. Windows has no keyboard mapper yet: labels are the US layout's.## Accepted platform differencesdiff --git a/port/tools/default-keybindings b/port/tools/default-keybindingsnew file mode 100755index 00000000000..05a35087719--- /dev/null+++ b/port/tools/default-keybindings@@ -0,0 +1,34 @@+#!/usr/bin/env bun+// Writes a default keybindings table (native/crates/app/src/keybindings/default-<os>.json) from the reference's+// `--export-default-keybindings` folder: the core rows (up to `diffEditor.exitCompareMove`, the last core rule; the+// built-in extensions' rows after it come from their package.json), the exporting profile's keybindings.json URI frozen as+// in default-macos.json, and each command's `weight` from default-macos.json (rows registered above the extension weights).+// Usage, on the Studio:+// "$REF/.build/electron/Code - OSS.app/Contents/MacOS/Code - OSS" "$REF" --user-data-dir <tmp> --export-default-keybindings <dir>+// port/tools/default-keybindings <dir> win native/crates/app/src/keybindings/default-win.json+// With `osx` it reproduces default-macos.json byte for byte.+import { readFileSync, writeFileSync } from 'node:fs';+import { join } from 'node:path';++const [folder, os, out] = process.argv.slice(2);+if (!folder || !['osx', 'win', 'linux'].includes(os) || !out) throw new Error('usage: default-keybindings <export dir> <osx|win|linux> <out.json>');++const text = readFileSync(join(folder, `doc.keybindings.${os}.json`), 'utf8');+// The export is the rows array, then the unbound commands as `//` comments.+const rows = JSON.parse(text.slice(0, text.indexOf('\n]') + 2).replace(/^\s*\/\/.*$/gm, ''));+const core = rows.slice(0, rows.findIndex((row: { command: string }) => row.command === 'diffEditor.exitCompareMove') + 1);+if (core.length === 0) throw new Error('no diffEditor.exitCompareMove row: the last core rule moved, update this tool');++const macos = JSON.parse(readFileSync(new URL('../../native/crates/app/src/keybindings/default-macos.json', import.meta.url), 'utf8'));+const weights = new Map<string, number>();+for (const row of macos) if (row.weight) weights.set(row.command, row.weight);++const lines = core.map((rule: { key: string; command: string; when?: string; args?: unknown }) => {+ const row: Record<string, unknown> = { key: rule.key, command: rule.command };+ if (rule.when) row.when = rule.when.replace(/vscode-userdata:[^']*\/User\/keybindings\.json/, 'vscode-userdata:/tmp/m9-kb-ud/User/keybindings.json');+ if (rule.args !== undefined) row.args = rule.args;+ if (weights.has(rule.command)) row.weight = weights.get(rule.command);+ return JSON.stringify(row);+});+writeFileSync(out, `[\n${lines.join(',\n')}\n]\n`);+console.log(`${out}: ${lines.length} rows`);