continuedev/continue

Current file added by default despite setting being disabled

Opened this issue · 2 comments

Before submitting your bug report

Relevant environment info

- OS: Manjaro Linux
- Continue version: 
  
Identifier
continue.continue
Version
1.2.5
Last Updated
2025-09-25, 10:02:40

- IDE version: 
  
Version: 1.104.1
Commit: 0f0d87fa9e96c856c5212fc86db137ac0d783365
Date: 2025-09-17T23:36:24.973Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Linux x64 6.15.11-2-MANJARO


- Model: not important 
- config: not important, nothing special

Description

My Ctrl+L keybind is pretty standard:

Image

The setting is disabled:

Image

No, I do not have my Shift key stuck.

Even using > Focus chat (which is the keybind bound to) causes the issue:

Image

To reproduce

  1. Continue tab
  2. Open settings
  3. Expand Show Experimental Settings
  4. Make sure Add Current File by Default is disabled
  5. Go to some file. Select nothing.
  6. (optional) Close the secondary side bar (where Continue is).
  7. Press Ctrl+L (which is new chat).

Instead just chat opening, it also adds the active file :(

Log output

No logs related to Continue happen, but okay:

[Extension Host] defaultFallbackHandler: deleteChain called from onDidChangeTextEditorSelection
log.ts:460   ERR [Extension Host] Document vscode-remote://ssh-remote%2Bsrg-dev/home/againpsychox/Public/Notes/Protocols/tools/analyse-xml-report.py not found in AST tracker
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
kvs @ remoteConsoleUtil.ts:58
$logExtensionHostMessage @ mainThreadConsole.ts:38
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
C @ event.ts:1201
fire @ event.ts:1232
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:383
console.ts:137 [Extension Host] Document vscode-remote://ssh-remote%2Bsrg-dev/home/againpsychox/Public/Notes/Protocols/tools/analyse-xml-report.py not found in AST tracker
Cvs @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
C @ event.ts:1201
fire @ event.ts:1232
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:383
console.ts:137 [Extension Host] defaultFallbackHandler: deleteChain called from onDidChangeTextEditorSelection
log.ts:460   ERR [Extension Host] Document vscode-remote://ssh-remote%2Bsrg-dev/home/againpsychox/Public/Notes/Protocols/tools/analyse-xml-report.py not found in AST tracker
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
kvs @ remoteConsoleUtil.ts:58
$logExtensionHostMessage @ mainThreadConsole.ts:38
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
C @ event.ts:1201
fire @ event.ts:1232
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:383
console.ts:137 [Extension Host] Document vscode-remote://ssh-remote%2Bsrg-dev/home/againpsychox/Public/Notes/Protocols/tools/analyse-xml-report.py not found in AST tracker
Cvs @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
C @ event.ts:1201
fire @ event.ts:1232
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:383

I would like to solve the issue for hacktoberfest

This bug is triggered frequently when using SSH. Is there any solution?