You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with that VS Code uses too much space in my home folder.
By analyzing the stored files I found that it stores a lot of cached files in the permanent storage, instead of using the special storage for cache data in Linux ($XDG_CACHE_HOME, usually located at ~/.cache).
So here is the list of VS Code data directories, that should be moved to the temporary cache storage from the permanent storage for configs and other data:
.config/Code/Cache
.config/Code/CachedConfigurations
.config/Code/CachedData
.config/Code/CachedExtensionVSIXs
.config/Code/CachedExtensions
.config/Code/CachedProfilesData
.config/Code/Code Cache
.config/Code/DawnCache
.config/Code/GPUCache
.config/Code/Service Worker/CacheStorage
.config/Code/Service Worker/ScriptCache
.vscode-server/extensionsCache
.vscode-server/data/CachedExtensions
.vscode-server/data/CachedProfilesData
extensions cache data like .vscode-server/data/User/globalStorage/redhat.vscode-yaml/schemas_cache
All these directories should be moved to the $XDG_CACHE_HOME/Code directory, to not waste space of the permanent storage, designed for storing only configuration and other persistent files, not the cache files.
The text was updated successfully, but these errors were encountered:
VSCode Version:
Version: 1.81.1
Commit: 6c3e3db
Date: 2023-08-09T22:18:39.991Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.2.0-27-generic
Local OS Version: Ubuntu 22.04
Remote OS Version: Ubuntu 22.04
Remote Extension/Connection Type: Containers
I have a problem with that VS Code uses too much space in my home folder.
By analyzing the stored files I found that it stores a lot of cached files in the permanent storage, instead of using the special storage for cache data in Linux (
$XDG_CACHE_HOME
, usually located at~/.cache
).So here is the list of VS Code data directories, that should be moved to the temporary cache storage from the permanent storage for configs and other data:
All these directories should be moved to the
$XDG_CACHE_HOME/Code
directory, to not waste space of the permanent storage, designed for storing only configuration and other persistent files, not the cache files.The text was updated successfully, but these errors were encountered: