If you often connect to your Linux server using VSCode, the "~/.vscode-server/" folder (and sometimes the ~/.cache/ folder too) can get very large because VSCode:
- Does NOT clean its download cache after installing extensions;
- Does NOT delete old extensions after updating them;
- Does NOT remove old VSCode servers after installing a new version.
If your server storage space is limited, you might consider cleaning "~/.vscode-server/" (and ~/.cache/) regularly using the bash script I wrote.
Simply run the following command:
curl -sL https://gist.githubusercontent.com/XDflight/5f3509eb84fc282b88059c909036f5bc/raw/07aa29746c9b085fce84702967bdfe6ac019c8b6/clean_vscode-server.sh | bash -s