continuedev / continuedev/continue
[Extension Host] Document not found in AST tracker
Open
Nobody has claimed this yet.
ide:vscode
kind:bug
os:windows
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I'm not able to find a related conversation on GitHub discussions that reports the same bug
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows NTx6410.0.19045
- Continue version: 1.2.21
- IDE version: below
Version: 1.113.0 (user setup)
Commit: cfbea10c5ffb233ea9177d34726e6056e89913dc
Date: 2026-03-24T15:07:18+01:00
Electron: 39.8.3
ElectronBuildId: 13620978
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
Description
Happens every onDidChangeVisibleTextEditors event.
To reproduce
Switch between text editors. That simple.
Log output
[Extension Host] deleteChain called from onDidChangeVisibleTextEditors
log.ts:460 ERR [Extension Host] Document path\t not found in AST tracker
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
deo @ remoteConsoleUtil.ts:58
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:458
_invokeHandler @ rpcProtocol.ts:443
_receiveRequest @ rpcProtocol.ts:373
_receiveOneMessage @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
_deliver @ event.ts:1354
fire @ event.ts:1385
fire @ ipc.net.ts:652
(anonymous) @ localProcessExtensionHost.ts:414
console.ts:139 [Extension Host] Document c:\Users\Max_Ostro\Hotkeys\ostro.lua not found in AST tracker
leo @ console.ts:139
$logExtensionHostMessage @ mainThreadConsole.ts:39
_doInvokeHandler @ rpcProtocol.ts:458
_invokeHandler @ rpcProtocol.ts:443
_receiveRequest @ rpcProtocol.ts:373
_receiveOneMessage @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
_deliver @ event.ts:1354
fire @ event.ts:1385
fire @ ipc.net.ts:652
(anonymous) @ localProcessExtensionHost.ts:414
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the onDidChangeVisibleTextEditors handler and its deleteChain call, then inspect how the AST tracker records document paths. Reproduce by switching between text editors and use the provided extension-host logs to verify the false “Document not found” error no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100