continuedev / continuedev/continue

[Extension Host] Document not found in AST tracker

Open
#11,919 2 comments 1 reaction 0 assignees View on GitHub

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
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.

Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.