Describe the bug
After updating VS Code to 1.222.0, I noticed another extension failed to load, and while checking the error output for extensions, noticed this one did too.
To Reproduce
Steps to reproduce the behavior:
- Start VS Code
- Click on Output
- Set dropdown to Extension Host or Extension Host (Remote) if using WSL
- See error
2026-05-28 08:52:09.122 [error] Activating extension ycodetech.automatic-comment-blocks failed due to an error:
2026-05-28 08:52:09.122 [error] Error: ENOENT: no such file or directory, scandir '/mnt/c/Users/REDACTED/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions'
at Object.readdirSync (node:fs:1590:26)
at Configuration.readExtensionsFromDirectory (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/configuration.js:424:12)
at Configuration.findAllLanguageConfigFilePaths (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/configuration.js:276:51)
at new Configuration (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/configuration.js:70:14)
at activate (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/extension.js:19:27)
at Ld._callActivateOptional (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:506:18591)
at Ld._callActivate (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:506:18301)
at file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:506:16275
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async _b._activate (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:502:16021)
at async _b._waitForDepsThenActivate (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:502:15963)
at async _b._initialize (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:502:15330)
Expected behavior
Extension should load and work
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Perhaps the issue for the other extension is similar: Gruntfuggly/todo-tree#925
Please attach the Auto Comment Blocks Output channel debug text file.
debug.txt
Describe the bug
After updating VS Code to 1.222.0, I noticed another extension failed to load, and while checking the error output for extensions, noticed this one did too.
To Reproduce
Steps to reproduce the behavior:
2026-05-28 08:52:09.122 [error] Activating extension ycodetech.automatic-comment-blocks failed due to an error:
2026-05-28 08:52:09.122 [error] Error: ENOENT: no such file or directory, scandir '/mnt/c/Users/REDACTED/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions'
at Object.readdirSync (node:fs:1590:26)
at Configuration.readExtensionsFromDirectory (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/configuration.js:424:12)
at Configuration.findAllLanguageConfigFilePaths (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/configuration.js:276:51)
at new Configuration (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/configuration.js:70:14)
at activate (/home/REDACTED/.vscode-server/extensions/ycodetech.automatic-comment-blocks-1.1.15/out/src/extension.js:19:27)
at Ld._callActivateOptional (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:506:18591)
at Ld._callActivate (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:506:18301)
at file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:506:16275
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async _b._activate (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:502:16021)
at async _b._waitForDepsThenActivate (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:502:15963)
at async _b._initialize (file:///home/REDACTED/.vscode-server/bin/6a49527b96e326fe62fbdb56f60e16877c9aa724/out/vs/workbench/api/node/extensionHostProcess.js:502:15330)
Expected behavior
Extension should load and work
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Perhaps the issue for the other extension is similar: Gruntfuggly/todo-tree#925
Please attach the
Auto Comment BlocksOutput channel debug text file.debug.txt