dotnet / vscode-dotnet-runtime

VSCode Extension for Installing .NET via VS Code
MIT License
140 stars 267 forks source link

Clean up out-of-date versions in a vscode storage #565

Open hinell opened 2 years ago

hinell commented 2 years ago

Older versions aren't cleaned up upon updates and consume space:

$ pwd
$ du -hc -d 1
/home/<username>/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet
68M     ./6.0.5
68M     ./6.0.6
68M     ./6.0.7
68M     ./6.0.8
272M    .
272M    total

Related issue

This is also related to a WorkSpace mess created by VSCode: , see related issue https://github.com/microsoft/vscode/issues/32461

hinell commented 1 year ago

If anyone is interested in better way to manage cache, checkout ncdu program.