Bug description
Specifically when using Kilo Code and nothing is open in the main editor window, pressing will trigger the VSpaceCode extension.
To Reproduce
- Open GitHub Copilot or Kilo Code (this may also happen with other chat extensions)
- Make sure no files or views are open in the main window area
- Start typing into the text area for the extension until you press the spacebar
- Note that the VSpaceCode extension appears.
Expected behaviour
- You can continue typing without the extension being triggered.
Keybindings
Click to toggle contents of `keybindings.json`
Settings
Click to toggle contents of `settings.json`
System information

Bug description
Specifically when using Kilo Code and nothing is open in the main editor window, pressing will trigger the VSpaceCode extension.
To Reproduce
Expected behaviour
Keybindings
Click to toggle contents of `keybindings.json`
[ { "key": "shift+enter", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": { "text": "\\\r\n" } }, { "key": "ctrl+enter", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": { "text": "\\\r\n" } }, { "key": "shift shift", "command": "workbench.action.quickOpenNavigatePreviousInFilePicker", "when": "inFilesPicker && inQuickOpen" }, { "key": "ctrl+shift+p", "command": "workbench.action.showCommands" }, { "key": "shift+alt+n", "command": "welcome.showNewFileEntries" }, { "key": "ctrl+alt+win+n", "command": "-welcome.showNewFileEntries" }, { "key": "ctrl+oem_minus", "command": "workbench.action.navigateBack", "when": "canNavigateBack" }, { "key": "alt+left", "command": "-workbench.action.navigateBack", "when": "canNavigateBack" }, { "key": "ctrl+shift+oem_minus", "command": "workbench.action.navigateForward", "when": "canNavigateForward" }, { "key": "alt+right", "command": "-workbench.action.navigateForward", "when": "canNavigateForward" }, { "key": "ctrl+i", "command": "-continue.focusEdit" }, { "key": "ctrl+oem_comma", "command": "workbench.action.quickOpen" }, { "key": "ctrl+p", "command": "-workbench.action.quickOpen" }, { "key": "space", "command": "vspacecode.space", "when": "activeEditorGroupEmpty && focusedView == '' && !whichkeyActive && !inputFocus" }, { "key": "space", "command": "vspacecode.space", "when": "sideBarFocus && !inputFocus && !whichkeyActive && !continue.continueGUIView.active" }, { "key": "tab", "command": "extension.vim_tab", "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert' && editorLangId != 'magit'" }, { "key": "tab", "command": "-extension.vim_tab", "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'" }, { "key": "x", "command": "magit.discard-at-point", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" }, { "key": "k", "command": "-magit.discard-at-point" }, { "key": "-", "command": "magit.reverse-at-point", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" }, { "key": "v", "command": "-magit.reverse-at-point" }, { "key": "shift+-", "command": "magit.reverting", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" }, { "key": "shift+v", "command": "-magit.reverting" }, { "key": "shift+o", "command": "magit.resetting", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" }, { "key": "shift+x", "command": "-magit.resetting" }, { "key": "x", "command": "-magit.reset-mixed" }, { "key": "ctrl+u x", "command": "-magit.reset-hard" }, { "key": "y", "command": "-magit.show-refs" }, { "key": "y", "command": "vspacecode.showMagitRefMenu", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode == 'Normal'" }, { "key": "g", "command": "-magit.refresh", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" }, { "key": "g", "command": "vspacecode.showMagitRefreshMenu", "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/" }, { "key": "ctrl+j", "command": "workbench.action.quickOpenSelectNext", "when": "inQuickOpen" }, { "key": "ctrl+k", "command": "workbench.action.quickOpenSelectPrevious", "when": "inQuickOpen" }, { "key": "ctrl+j", "command": "selectNextSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" }, { "key": "ctrl+k", "command": "selectPrevSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" }, { "key": "ctrl+l", "command": "acceptSelectedSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" }, { "key": "ctrl+j", "command": "showNextParameterHint", "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "ctrl+k", "command": "showPrevParameterHint", "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "ctrl+j", "command": "selectNextCodeAction", "when": "codeActionMenuVisible" }, { "key": "ctrl+k", "command": "selectPrevCodeAction", "when": "codeActionMenuVisible" }, { "key": "ctrl+l", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "ctrl+h", "command": "file-browser.stepOut", "when": "inFileBrowser" }, { "key": "ctrl+l", "command": "file-browser.stepIn", "when": "inFileBrowser" }, { "key": "ctrl+shift+oem_plus", "command": "workbench.action.zoomOut" }, { "key": "ctrl+oem_minus", "command": "-workbench.action.zoomOut" }, { "key": "ctrl+oem_plus", "command": "workbench.action.zoomIn" }, { "key": "ctrl+shift+oem_plus", "command": "-workbench.action.zoomIn" }, { "key": "ctrl+shift+oem_minus", "command": "-workbench.action.zoomOut" }, { "key": "ctrl+i i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" } ]Settings
Click to toggle contents of `settings.json`
{ "vim.insertModeKeyBindings": [ { "before": [ "j", "k" ], "after": [ "<Esc>" ] } ], "vim.normalModeKeyBindingsNonRecursive": [ { "before": [ "<C-H>" ], "after": [ "<C-W>", "H" ] }, { "before": [ "<C-J>" ], "after": [ "<C-W>", "J" ] }, { "before": [ "<C-K>" ], "after": [ "<C-W>", "K" ] }, { "before": [ "<C-L>" ], "after": [ "<C-W>", "L" ] }, { "before": [ "Z", "Z" ], "after": [ ":wq<CR>" ] }, { "before": [ "<space>" ], "commands": [ "vspacecode.space" ] }, { "before": [ "," ], "commands": [ "vspacecode.space", { "command": "whichkey.triggerKey", "args": "m" } ] }, { "before": [ "<C-H>" ], "after": [ "<C-W>", "H" ] }, { "before": [ "<C-J>" ], "after": [ "<C-W>", "J" ] }, { "before": [ "<C-K>" ], "after": [ "<C-W>", "K" ] }, { "before": [ "<C-L>" ], "after": [ "<C-W>", "L" ] }, { "before": [ "<space>" ], "commands": [ "vspacecode.space" ] }, { "before": [ "," ], "commands": [ "vspacecode.space", { "command": "whichkey.triggerKey", "args": "m" } ] } ], "vim.normalModeKeyBindings": [ { "before": [ "g", "h" ], "commands": [ "editor.action.showHover" ] }, ], "javascript.updateImportsOnFileMove.enabled": "always", "typescript.updateImportsOnFileMove.enabled": "always", "vscode-edge-devtools.defaultUrl": "localhost:5000", "search.searchOnType": true, "vim.handleKeys": { "<C-k>": false, "<C-;>": false }, "coverage-gutters.customizable.context-menu": false, "jest.runMode": "on-save", "jestTestExplorer.debugOutput": "integratedTerminal", "editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'", "debug.javascript.usePreview": true, "editor.linkedEditing": true, "remote.SSH.showLoginTerminal": true, "remote.SSH.enableRemoteCommand": true, "explorer.confirmDragAndDrop": false, "files.exclude": { "**/.classpath": true, "**/.project": true, "**/.settings": true, "**/.factorypath": true }, "nativescript.analytics.enabled": true, "gitlens.defaultDateFormat": "Do MMMM YYYY, H:m", "gitlens.defaultDateShortFormat": "D MMM YYYY", "[jsonc]": { "editor.defaultFormatter": "vscode.json-language-features" }, "git.enableSmartCommit": true, "editor.fontWeight": "300", "javascript.format.semicolons": "insert", "files.autoSaveDelay": 3000, "vscode-edge-devtools.webhint": false, "vim.replaceWithRegister": true, "workbench.startupEditor": "newUntitledFile", "vsicons.dontShowNewVersionMessage": true, "spotify.showSignOutButton": false, "spotify.trackInfoClickBehaviour": "none", "liveshare.authenticationProvider": "Microsoft", "mssql.connections": [ { "server": "(LocalDB)\\MSSQLLocalDB", "database": "", "authenticationType": "Integrated", "profileName": "localdb", "password": "", "id": "52EDB329-BCBC-4BAA-BB81-F46DF39A6F3E", "groupId": "5C922107-4130-4592-9143-11B9FA626295" }, { "server": "172.31.45.180", "database": "", "authenticationType": "SqlLogin", "user": "SA", "password": "", "emptyPasswordInput": false, "savePassword": true, "id": "25C965CE-9C0B-4C7B-9003-E02100D2DDAE", "groupId": "5C922107-4130-4592-9143-11B9FA626295" }, { "server": "172.31.40.143", "database": "", "authenticationType": "SqlLogin", "user": "SA", "password": "", "emptyPasswordInput": false, "savePassword": true, "id": "C2356732-BF52-4E69-A8D1-31F95A27B50A", "groupId": "5C922107-4130-4592-9143-11B9FA626295" }, { "server": "10.211.55.7", "database": "", "authenticationType": "SqlLogin", "user": "sa", "password": "", "emptyPasswordInput": false, "savePassword": true, "profileName": "DEV-SRV2", "encrypt": "Mandatory", "trustServerCertificate": true, "connectTimeout": 15, "commandTimeout": 30, "applicationName": "vscode-mssql", "id": "85CFDB7F-38AA-44F6-B566-021AAE46AE12", "groupId": "5C922107-4130-4592-9143-11B9FA626295" } ], "cSpell.userWords": [ "authorised", "Benevity", "bennettjones", "briebug", "classlist", "codelyzer", "compat", "cornflowerblue", "createspyobj", "datepicker", "daygrid", "devkit", "fontawesome", "fullcalendar", "getpersoncard", "getposition", "getprofile", "googlemaps", "Highcharts", "newhire", "ngcc", "ngneat", "offboarding", "onleave", "ourteams", "pinia", "Requery", "sankey", "swal", "timegrid", "Upsert", "yamllint" ], "jestTestExplorer.flattenExplorer": true, "vim.foldfix": true, "html.autoClosingTags": false, "redhat.telemetry.enabled": false, "testExplorer.hideWhen": "noAdapters", "testExplorer.mergeSuites": true, "testExplorer.showOnRun": true, "testExplorer.sort": "byLabelWithSuitesFirst", "testExplorer.addToEditorContextMenu": true, "testExplorer.useNativeTesting": true, "jest.coverageFormatter": "GutterFormatter", "jest.enableCodeLens": false, "editor.tabSize": 2, "editor.cursorStyle": "line", "editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-", "editor.wordWrap": "off", "testExplorer.gutterDecoration": false, "testExplorer.codeLens": false, "testExplorer.errorDecoration": false, "testExplorer.errorDecorationHover": false, "cSpell.language": "en-GB", "sonarlint.rules": { "Web:AvoidCommentedOutCodeCheck": { "level": "off" }, "typescript:S4144": { "level": "off" } }, "terminal.integrated.defaultProfile.linux": "zsh", "telemetry.enableTelemetry": false, "editor.formatOnSaveMode": "modificationsIfAvailable", "[powershell]": { "editor.defaultFormatter": "ms-vscode.powershell" }, "security.workspace.trust.startupPrompt": "always", "workbench.editor.revealIfOpen": false, "editor.bracketPairColorization.enabled": true, "vscode-edge-devtools.mirrorEdits": true, "gitlens.gitCommands.skipConfirmations": [ "fetch:command", "switch:command" ], "sqlDatabaseProjects.netCoreDowngradeDoNotShow": true, "keyboard.layout": "00000809", "grunt.autoDetect": "on", "gulp.autoDetect": "on", "wallaby.compactMessageOutput": false, "wallaby.codeLensFeature.runTest": true, "wallaby.codeLensFeature.updateSnapshots": false, "html.format.wrapLineLength": 80, "html.format.wrapAttributes": "force-expand-multiline", "atlascode.jira.lastCreateSiteAndProject": { "siteId": "", "projectKey": "" }, "editor.fontFamily": "CaskaydiaCove NF, Consolas, 'Courier New', monospace", "vim.statusBarColorControl": true, "gitlens.advanced.messages": { "suppressCommitHasNoPreviousCommitWarning": true, "suppressLineUncommittedWarning": true }, "vite.autoStart": false, "nxConsole.enableTelemetry": false, "nxConsole.useNVM": true, "[typescript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "[terraform]": { "editor.defaultFormatter": "hashicorp.terraform" }, "github.copilot.enable": { "*": true, "plaintext": true, "markdown": false, "scminput": false }, "livePreview.portNumber": 4173, "testOnSave.enabled": true, "testOnSave.testCommand": "pnpm run test:unit --run", "conventionalCommits.emojiFormat": "emoji", "git.postCommitCommand": "sync", "git.smartCommitChanges": "tracked", "conventionalCommits.lineBreak": "<br>", "aws.telemetry": false, "atlascode.bitbucket.issues.createJiraEnabled": true, "editor.fontSize": 14, "yaml.customTags": [ "!And", "!And sequence", "!If", "!If sequence", "!Not", "!Not sequence", "!Equals", "!Equals sequence", "!Or", "!Or sequence", "!FindInMap", "!FindInMap sequence", "!Base64", "!Join", "!Join sequence", "!Cidr", "!Ref", "!Sub", "!Sub sequence", "!GetAtt", "!GetAZs", "!ImportValue", "!ImportValue sequence", "!Select", "!Select sequence", "!Split", "!Split sequence" ], "editor.accessibilitySupport": "off", "npm.keybindingsChangedWarningShown": true, "[python]": { "editor.defaultFormatter": "ms-python.python" }, "debug.console.fontFamily": "CaskaydiaCove NFM", "[csharp]": { "editor.foldingImportsByDefault": true, "editor.defaultFormatter": "ms-dotnettools.csharp" }, "latex.linter.enabled": false, "workbench.editor.empty.hint": "hidden", "notebook.output.wordWrap": true, "notebook.formatOnSave.enabled": true, "powershell.codeFormatting.autoCorrectAliases": true, "powershell.codeFormatting.preset": "Stroustrup", "powershell.codeFormatting.useCorrectCasing": true, "[aspnetcorerazor]": { "editor.defaultFormatter": "ms-dotnettools.csharp" }, "jupyter.askForKernelRestart": false, "resmon.disk.format": "Remaining", "resmon.show.battery": false, "resmon.show.cpufreq": false, "diffEditor.renderSideBySide": false, "wallaby.showStartViewOnFeatureRelease": false, "[json]": { "editor.defaultFormatter": "vscode.json-language-features" }, "editor.inlineSuggest.suppressSuggestions": true, "git.openRepositoryInParentFolders": "always", "editor.inlineSuggest.showToolbar": "always", "diffEditor.experimental.showMoves": true, "terminal.integrated.copyOnSelection": true, "editor.emptySelectionClipboard": false, "gitlens.advanced.abbreviateShaOnCopy": true, "gitlens.ai.experimental.openai.model": "gpt-4", "gitlens.ai.experimental.provider": "openai", "gitlens.ai.experimental.gemini.model": "gemini-1.5-pro-latest", "workbench.commandPalette.experimental.suggestCommands": true, "continue.enableTabAutocomplete": true, "gitlens.launchpad.indicator.polling.enabled": false, "bitoAI.codeCompletion.enableAutoCompletion": true, "bitoAI.codeCompletion.enableCommentToCode": true, "github.copilot.editor.enableAutoCompletions": true, "terminal.integrated.env.osx": {}, "terminal.integrated.env.windows": {}, "console-ninja.featureSet": "Community", "diffEditor.ignoreTrimWhitespace": false, "vue.server.hybridMode": true, "[feature]": { "editor.defaultFormatter": "alexkrechik.cucumberautocomplete" }, "files.autoSave": "afterDelay", "testing.coverageToolbarEnabled": true, "vim.visualModeKeyBindingsNonRecursive": [ { "before": [ "<space>" ], "commands": [ "vspacecode.space" ] }, { "before": [ "," ], "commands": [ "vspacecode.space", { "command": "whichkey.triggerKey", "args": "m" } ] }, { "before": [ ">" ], "commands": [ "editor.action.indentLines" ] }, { "before": [ "<" ], "commands": [ "editor.action.outdentLines" ] } ], "workbench.editorAssociations": { "*.webm": "vscode.videoPreview" }, "cucumber.glue": [ "tests/**/features/*.js" ], "chat.commandCenter.enabled": false, "powershell.pester.codeLens": false, "mssql.connectionGroups": [ { "name": "ROOT", "id": "5C922107-4130-4592-9143-11B9FA626295" } ], "atlascode.jira.enabled": true, "resmon.show.disk": true, "[html]": { "editor.defaultFormatter": "vscode.html-language-features" }, "workbench.settings.applyToAllProfiles": [ "editor.fontFamily", "debug.console.fontFamily", "terminal.integrated.fontFamily", "editor.fontWeight", "terminal.integrated.fontWeightBold", "terminal.integrated.fontWeight", "vim.useSystemClipboard", "chat.disableAIFeatures", "git.postCommitCommand", "git.blame.editorDecoration.enabled" ], "terminal.integrated.fontWeight": "300", "remote.SSH.remotePlatform": { "rpi": "linux" }, "yaml.schemas": { "file:///c%3A/Users/shafi/.vscode/extensions/continue.continue-1.2.11-win32-x64/config-yaml-schema.json": [ ".continue/**/*.yaml" ] }, "github.copilot.nextEditSuggestions.enabled": true, "vim.easymotion": true, "resmon.show.cpuusage": false, "resmon.show.mem": false, "git.autofetch": true, "git.confirmSync": false, "window.newWindowProfile": "Default", "chat.useAgentSkills": true, "workbench.colorCustomizations": { "statusBar.background": "#005f87", "statusBar.noFolderBackground": "#005f87", "statusBar.debuggingBackground": "#005f87", "statusBar.foreground": "#ffffff", "statusBar.debuggingForeground": "#ffffff" }, "github.copilot.chat.codesearch.enabled": true, "github.copilot.chat.customAgents.showOrganizationAndEnterpriseAgents": true, "github.copilot.chat.generateTests.codeLens": true, "github.copilot.chat.githubMcpServer.enabled": true, "github.copilot.chat.terminalChatLocation": "terminal", "azureResourceGroups.enableChatStandIn": false, "workbench.secondarySideBar.showLabels": false, "[rust]": { "editor.defaultFormatter": "rust-lang.rust-analyzer" }, "notebook.lineNumbers": "on", "notebook.cellExecutionTimeVerbosity": "verbose", "notebook.cellFocusIndicator": "border", "notebook.cellToolbarVisibility": "hover", "notebook.compactView": false, "notebook.consolidatedOutputButton": false, "settingsSync.ignoredSettings": [ "chat.mcp.access" ], "window.menuBarVisibility": "compact", "chat.mcp.serverSampling": { "Global in Code: ado": { "allowedModels": [] } }, "gitlens.ai.model": "vscode", "gitlens.ai.vscode.model": "copilot:gpt-4.1", "gitlens.defaultGravatarsStyle": "retro", "gitlens.plusFeatures.enabled": false, "gitlens.currentLine.enabled": false, "git.blame.editorDecoration.enabled": true, "python.analysis.typeCheckingMode": "standard", "chat.agent.maxRequests": 100, "chat.viewSessions.orientation": "stacked", "chat.mcp.gallery.enabled": true, "terminal.integrated.commandsToSkipShell": [ "kilo-code.new.agentManagerOpen", "kilo-code.new.agentManager.showTerminal" ], "kilo-code.new.autocomplete.enableAutoTrigger": true, "kilo-code.new.autocomplete.enableSmartInlineTaskKeybinding": true, "kilo-code.new.autocomplete.enableChatAutocomplete": true, "kilo-code.new.browserAutomation.enabled": true, "kilo-code.new.browserAutomation.useSystemChrome": false, "workbench.colorTheme": "Light 2026", "window.systemColorTheme": "auto", }System information