A powerful extension to manage and clean VSCode cache files. View cache sizes, selectively clean unnecessary files, and free up disk space with an intuitive interface.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
清理 VSCode 缓存,释放磁盘空间。
Clean up VSCode caches and reclaim disk space.
简介 / Overview
自动扫描 VSCode 的各类缓存与扩展目录,展示大小,支持逐项或批量删除。
It scans VSCode cache and extension folders, shows their sizes, and lets you delete them one by one or in bulk.
如何使用 / How to Use
按 Ctrl+Shift+P 打开命令面板。
Press Ctrl+Shift+P to open the Command Palette.
输入并执行 Open VSCode Cleaner。
Type and run Open VSCode Cleaner.
在面板中勾选要清理的项目,点击 Clean Selected 或 Clean All。
Tick the items you want to clean, then click Clean Selected or Clean All.
首次打开时大小一栏会显示 Calculating,稍等片刻即可逐行填出。
On first open, the Size column shows Calculating; values fill in row by row shortly after.
面板操作 / Panel Actions
按钮 / Button
作用 / What it does
Refresh
重新扫描缓存 / Rescan all caches
Select All
选中全部 / Select everything
Clear Selection
取消全部选择 / Clear all selections
Clean Selected
删除已勾选项 / Delete the ticked items
Clean All
删除全部 / Delete everything
Open
在文件管理器中打开 / Reveal in file explorer
Delete
删除单行 / Delete a single row
管理的缓存类型 / Cache Types
扩展缓存与 VSIX 缓存 / Extension and VSIX caches
工作区存储 / Workspace storage
编辑历史 / Edit history
日志与崩溃报告 / Logs and crash reports
C++ 工具缓存 / C++ tools cache
Service Worker 缓存 / Service Worker caches
临时文件 / Temp files
说明 / Notes
删除不可撤销,请确认后再操作。
Deletion cannot be undone — please confirm before proceeding.
正在被 VSCode 占用的文件可能删除失败,会给出具体原因,关闭 VSCode 后重试即可。
Files locked by VSCode may fail to delete; the reason is reported — close VSCode and retry.
便携版(Portable)与标准安装均已支持。
Both Portable and standard installations are supported.
关于作者 / About the Author
由公众号 嵌入式软件实战派 开发维护,日常分享嵌入式与开发工具相关实践,感兴趣可以关注。
Built and maintained by the WeChat account 嵌入式软件实战派, which regularly shares embedded and developer-tooling notes — feel free to follow if that interests you.