Closed hsinyinfu closed 2 years ago
Next time when VS Code instance is launched, it would check the .obsolete file, and remove the directories listed in the file.
Yes.
Hi, but I tried to close all my VS Code instances first, and then opened a new one, the extension directories listed in the .obsolete file didn't be removed.
Can you please share us following log after restarting VS Code
F1 > Open View... > Log (Shared)
[2022-01-04 18:07:35.749] [sharedprocess] [info] WSL is not installed, so could not detect WSL profiles [2022-01-04 18:07:35.803] [sharedprocess] [info] Starting worker process with pid 11392 (type: watcherServiceParcelSharedProcess, window: 1).
Can you please enable log level to trace and restart VS Code and share the logs again?
Hi, the log is too long for the markdown engine of github to render it correctly, so I split it into two comments.
[2022-01-05 09:46:53.017] [sharedprocess] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\AppData\Roaming\Code\User\globalStorage
[2022-01-05 09:46:53.019] [sharedprocess] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\AppData\Roaming\Code\User\globalStorage
[2022-01-05 09:46:53.227] [sharedprocess] [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\AppData\Roaming\Code\User\globalStorage
[2022-01-05 09:46:53.282] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.282] [sharedprocess] [trace] Started scanning system extensions
[2022-01-05 09:46:53.283] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.283] [sharedprocess] [trace] ExtensionManagementService.refreshReportedCache
[2022-01-05 09:46:53.283] [sharedprocess] [trace] RequestService#request https://az764295.vo.msecnd.net/extensions/marketplace.json
[2022-01-05 09:46:53.301] [sharedprocess] [trace] ExtensionManagementService.refreshControlCache {"malicious":[{"id":"visualstuiocode.emmet"},{"id":"joaomoreno.banana"},{"id":"JacobeanResearchandDevelopmentLLC.vscode-scxml-preview"},{"id":"joaquin6.package-watch"},{"id":"KazuoCode.gthubsum"},{"id":"MaxGotovkin.tslens"}],"unsupportedPreReleaseExtensions":{"github.vscode-pull-request-github-insiders":{"id":"github.vscode-pull-request-github","displayName":"GitHub Pull Requests and Issues"}}}
[2022-01-05 09:46:53.302] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.347] [sharedprocess] [debug] Writing language packs {}
[2022-01-05 09:46:53.369] [sharedprocess] [trace] Started scanning system extensions
[2022-01-05 09:46:53.369] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.369] [sharedprocess] [trace] Started scanning system extensions
[2022-01-05 09:46:53.369] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.369] [sharedprocess] [trace] Started scanning system extensions
[2022-01-05 09:46:53.369] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.374] [sharedprocess] [trace] SharedProcess: createWorker (window: 1, moduleId: vs/platform/files/node/watcher/parcel/watcherApp)
[2022-01-05 09:46:53.374] [sharedprocess] [trace] SharedProcess: creating new web worker (vs/platform/files/node/watcher/parcel/watcherApp)
[2022-01-05 09:46:53.381] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.382] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.382] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.383] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.383] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.384] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.389] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:53.410] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.410] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.410] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.421] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.423] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.426] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.426] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.458] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.458] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.458] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.459] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.462] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.463] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.464] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.464] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.465] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.511] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.511] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.515] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.515] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.515] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.517] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.517] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.518] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.521] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.521] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.523] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.523] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.524] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.536] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.536] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.539] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.539] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.541] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.542] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.551] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.552] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.553] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.556] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.562] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:53.563] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:53.599] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.600] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.600] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.602] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.602] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.603] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.603] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.603] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.603] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.605] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.605] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.606] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.616] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:53.616] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:53.617] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:53.617] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:53.618] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:53.618] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:53.618] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:53.624] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:53.625] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:53.648] [sharedprocess] [trace] SharedProcess (worker, watcherServiceParcelSharedProcess): Forking worker process (env: {})
[2022-01-05 09:46:54.352] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:54.361] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:54.361] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:54.370] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:54.378] [sharedprocess] [info] Starting worker process with pid 16056 (type: watcherServiceParcelSharedProcess, window: 1).
[2022-01-05 09:46:54.378] [sharedprocess] [trace] SharedProcess: createWorker sending message port back to window (window: 1, moduleId: vs/platform/files/node/watcher/parcel/watcherApp)
[2022-01-05 09:46:54.385] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:54.385] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:54.386] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:54.387] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:54.395] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:54.436] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:54.455] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:54.505] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:54.506] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:54.507] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:54.511] [sharedprocess] [info] WSL is not installed, so could not detect WSL profiles
[2022-01-05 09:46:54.543] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:54.544] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:54.577] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:54.579] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:54.579] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:54.580] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:54.690] [sharedprocess] [trace] Scanned system extensions: 86
[2022-01-05 09:46:54.692] [sharedprocess] [trace] Scanned system extensions: 86
[2022-01-05 09:46:54.703] [sharedprocess] [trace] Scanned system extensions: 86
[2022-01-05 09:46:54.716] [sharedprocess] [trace] Scanned system extensions: 86
[2022-01-05 09:46:54.729] [sharedprocess] [debug] Writing language packs {}
[2022-01-05 09:46:55.504] [sharedprocess] [debug] ExtensionManagementService#TargetPlatform: win32-x64
[2022-01-05 09:46:56.288] [sharedprocess] [trace] Started scanning system extensions
[2022-01-05 09:46:56.288] [sharedprocess] [trace] Started scanning user extensions
[2022-01-05 09:46:56.295] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\eg2.vscode-npm-script-0.3.22\\package.json"}
[2022-01-05 09:46:56.295] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.python-2021.10.1336267007\\package.json"}
[2022-01-05 09:46:56.295] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-ceintl.vscode-language-pack-zh-hant-1.62.3\\package.json"}
[2022-01-05 09:46:56.298] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.0\\package.json"}
[2022-01-05 09:46:56.299] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.1\\package.json"}
[2022-01-05 09:46:56.306] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-python.vscode-pylance-2021.10.2\\package.json"}
[2022-01-05 09:46:56.306] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-toolsai.jupyter-2021.9.1001312534\\package.json"}
[2022-01-05 09:46:56.308] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode.cpptools-1.7.0\\package.json"}
[2022-01-05 09:46:56.308] [sharedprocess] [trace] {"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\mtk23649.DOMAIN_MTK\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.202.4\\package.json"}
[2022-01-05 09:46:56.320] [sharedprocess] [trace] Scanned user extensions: 16
[2022-01-05 09:46:56.357] [sharedprocess] [trace] Scanned system extensions: 86
Can you please let me know the list of extensions you have in the extensions folder? And also the content of the .obsolete
file? And what extensions do you see in the extensions view in VS Code?
Here is the extensions I can see in the extensions view in VS Code:
C:\Users>code --list-extensions
christian-kohler.npm-intellisense
dbaeumer.vscode-eslint
eg2.vscode-npm-script
esbenp.prettier-vscode
garmin.private-extension-manager
garmin.private-extension-manager-remote-helper
jeff-hykin.better-cpp-syntax
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.cpptools
ms-vscode.cpptools-themes
ms-vscode.powershell
Here is the content of .obsolete
file:
{"ms-toolsai.jupyter-2021.9.1001312534":true,"ms-python.vscode-pylance-2021.10.0":true,"eg2.vscode-npm-script-0.3.22":true,"ms-vscode-remote.remote-containers-0.202.4":true,"ms-vscode.cpptools-1.7.0":true,"ms-python.vscode-pylance-2021.10.1":true,"ms-python.python-2021.10.1336267007":true,"ms-vscode-remote.remote-wsl-0.58.2":true,"ms-vscode-remote.remote-wsl-0.58.3":true,"ms-python.vscode-pylance-2021.10.2":true,"ms-ceintl.vscode-language-pack-zh-hant-1.62.3":true}
And here is all the extension directories currently in my local disk (under %USERPROFILE\,vscode\extensions
):
2022/01/04 下午 02:55 <DIR> .
2022/01/04 下午 02:55 <DIR> ..
2021/12/27 下午 03:59 469 .obsolete
2021/11/12 下午 02:13 <DIR> christian-kohler.npm-intellisense-1.4.0
2021/11/23 上午 09:44 <DIR> dbaeumer.vscode-eslint-2.2.2
2021/10/29 下午 02:06 <DIR> eg2.vscode-npm-script-0.3.22
2021/10/20 上午 04:39 <DIR> eg2.vscode-npm-script-0.3.23
2021/12/16 下午 04:18 <DIR> esbenp.prettier-vscode-9.0.0
2021/12/16 下午 02:10 <DIR> garmin.private-extension-manager-1.8.0
2021/12/16 下午 02:11 <DIR> garmin.private-extension-manager-remote-helper-1.8.0
2021/10/14 下午 04:36 <DIR> jeff-hykin.better-cpp-syntax-1.15.10
2021/11/16 下午 02:54 <DIR> ms-ceintl.vscode-language-pack-zh-hant-1.62.3
2021/10/29 下午 02:06 <DIR> ms-python.python-2021.10.1336267007
2021/12/16 下午 04:12 <DIR> ms-python.python-2021.12.1559732655
2021/10/29 下午 02:06 <DIR> ms-python.vscode-pylance-2021.10.0
2021/10/29 下午 02:06 <DIR> ms-python.vscode-pylance-2021.10.1
2021/10/29 下午 02:06 <DIR> ms-python.vscode-pylance-2021.10.2
2021/12/16 下午 04:12 <DIR> ms-python.vscode-pylance-2021.12.2
2021/12/16 下午 04:11 <DIR> ms-toolsai.jupyter-2021.11.1001550889
2021/10/29 下午 02:06 <DIR> ms-toolsai.jupyter-2021.9.1001312534
2021/09/28 下午 02:34 <DIR> ms-toolsai.jupyter-keymap-1.0.0
2021/10/29 下午 02:07 <DIR> ms-vscode-remote.remote-containers-0.202.4
2021/12/27 下午 02:07 <DIR> ms-vscode-remote.remote-ssh-0.71.2021121615
2021/12/16 下午 01:13 <DIR> ms-vscode-remote.remote-ssh-edit-0.70.0
2021/10/29 下午 02:07 <DIR> ms-vscode.cpptools-1.7.0
2021/10/29 下午 02:07 <DIR> ms-vscode.cpptools-1.7.1
2021/10/14 下午 04:36 <DIR> ms-vscode.cpptools-themes-1.0.0
2022/01/04 下午 02:55 <DIR> ms-vscode.powershell-2021.12.0
I see lot of following errors
"errno":-4058,"code":"ENOENT","syscall":"open"
It seems those folders have some issues.
Can you please try pointing to another extensions directory using --extensions-dir
cli argument and try following
see if extension is deleted from the directory
Hi,
I tried in a new Portable VS Code (1.63.2) with an empty "data" dir created in it.
After that, I installed "C/C++" extension and then uninstall it, and confirmed that the .obsolete
file is created with "C/C++" extension listed in it.
When I closed the VS Code instance and restarted a new one, the .obsolete
file and the "C/C++" extension folder were all gone.
It seems that it works well.
I have two questions here:
.obsolete
file be triggered? Only when "all" VS Code instances are all closed and a new one is started? Or it would also be triggered when a new VS Code instance is started even though there are other instances already existed?.obsolete
file manually, right?Clean ups are done when all VS Code was quit and started. In case of Windows machine, it is when you close all windows of VS Code. In case of Mac, it is when you quit the app and started again.
OK, I see. I'll clean up all the outdated extension directories manually this time. Thanks for your kindly help.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
I found that the old version of extensions and extensions being uninstalled are not deleted from my local disk. All my extensions are installed in C:\Users\.vscode\extensions
In the path, there are many versions of extension directory exist, e.g., there are five Pylance directory:
Also, in the .obsolete under this path, it contains the following information (I listed only part of this file here):
If I understood it right, when users uninstalled or update an extension, VS Code marks the uninstalled or old version of the extension into the .obsolete file as
But, at this moment, the directory of that extension would not be deleted from local disk. Next time when VS Code instance is launched, it would check the .obsolete file, and remove the directories listed in the file. Do I understand it correctly?