vscodevim stopped working sometimes until reinstalling the extension
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
I am using the web version of vscode (i.e. code serve-web ...). Sometimes vscodevim just stopped working. The developer console would have these log:
2024-07-15 10:22:59.268 [info] Extension host started
2024-07-15 10:22:59.620 [info] Eager extensions activated
2024-07-15 10:22:59.638 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: false, activationEvent: 'onStartupFinished'
2024-07-15 10:22:59.665 [error] Activating extension vscodevim.vim failed due to an error:
2024-07-15 10:22:59.665 [error] Error: Not Found
at R.xb (../../../vs/workbench/api/worker/extensionHostWorker.js:111:53700)
at async Promise.all (index 0)
at async n (../../../vs/workbench/api/worker/extensionHostWorker.js:96:6385)
at async n.m (../../../vs/workbench/api/worker/extensionHostWorker.js:96:6348)
at async n.l (../../../vs/workbench/api/worker/extensionHostWorker.js:96:5805)
This issue won't go away when I reloaded the browser window or restarted the code server. It did go away if I re-installed the extension and then reloaded the window.
To Reproduce
I don't know how to repro this. It just happenes sometimes.
Environment (please complete the following information):
Extension version: 1.27.3
vscode:
Version: 1.91.1
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Embedder: server-distro
OS: linux (debian)
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 with the web VS Code setup (code serve-web ...) and the extension-host activation logs showing vscodevim.vim failing with Error: Not Found. Investigate the extension activation path and compare a normal installation with one that requires reinstalling; done means identifying a reproducible cause and confirming the extension activates without reinstalling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100