> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Microsoft's VS Code in Ubuntu's Snap Format Eats Up Disk Space Like Bloatware Even After Removal
- URL: https://itsfoss.com/news/vscode-snap-disk-space-issue/
- Published: 2026-02-04T09:04:25.000Z
- Updated: 2026-02-04T09:04:25.000Z
- Description: The bug itself was reported all the way back in November 2024, and the issue is still present for current Snap versions of VS Code and even VSCodium.
- Author: Sreenath
- Tags: News

Have you noticed that disk space is filling up fast even when your Linux computer's trash folder is empty? There's a strong possibility that [VS Code](https://code.visualstudio.com/?ref=itsfoss.com) is responsible for it.

A [not-so-recent issue](https://github.com/microsoft/vscode/issues/233649?ref=itsfoss.com) in the Snap version of VS Code has cropped up again, and there's no fix in sight.

## An Absurd Bug

When you normally delete a file, it goes into the trash folder, located at `~/.local/share/Trash`. [GNOME](https://www.gnome.org/?ref=itsfoss.com) has supported automated emptying of the trash at selected intervals through its settings for quite some time now.

So, let's say you delete trash every seven days.

![this screenshot shows the trash folder in nautilus file manager on a gnome-equipped system](https://itsfoss.com/content/images/2026/02/file-trash-removal-timer.png)

Now, with [the Snap version of VS Code](https://snapcraft.io/code?ref=itsfoss.com), any files or folders deleted using the `Delete` key in VS Code are being sent to the Snap's own trash folder, which is located at:

```
~/snap/code/current/.local/share/Trash
```

**You see the problem now?** This pesky folder is not cleared automatically, and this is not how deleted content should be handled. Especially when the deleted files are placed this deep inside a directory tree, hidden away from the user's eye.

***There's more.***

The `current` directory mentioned above corresponds to the version of VS Code that's installed on your system.

Now, if you update to a new version of VS Code, **the residuals of the old version will still be present** on your computer in a separate folder. 

*See for yourself.* 👇

![terminal output that shows the leftover trash in the snap folder for vs code](https://itsfoss.com/content/images/2026/02/ubuntu-vscode-trash-different-inode-means-duplicate-1.png)

*This drives up the unnecessary bloat in your system even more!*

The bug itself was reported all the way back in November 2024, and the issue is still present for current Snap versions of VS Code and even [VSCodium](https://itsfoss.com/vscodium/).

## What Can You Do?

If this issue is bothering you, then you can remove the Snap version and install the [DEB](https://itsfoss.com/install-visual-studio-code-ubuntu/#:~:text=Method%202%3A%20Using%20the%20.deb/.rpm%20packages) or [RPM](https://itsfoss.com/install-vs-code-fedora/) version of VS Code. There's also an [unofficial Flatpak version](https://flathub.org/en/apps/com.visualstudio.code?ref=itsfoss.com) if you prefer that packaging.

📋

Deleting the Snap version of VS Code also deletes all of its associated junk files.

Some [Arch distributions](https://itsfoss.com/arch-based-linux-distros/), like Manjaro Linux, come with [Snapd](https://github.com/canonical/snapd?ref=itsfoss.com) installed by default. If you are one of the people who used the Snap version of VS Code, then you can also try the open source build of VS Code (Code - OSS), which is available in the [Arch Linux repository](https://archlinux.org/packages/extra/x86%5F64/code/?ref=itsfoss.com).

Source: [How to Geek](https://www.howtogeek.com/visual-studio-code-is-eating-up-hundreds-of-gigabytes-on-linux/?ref=itsfoss.com).

---

**Suggested Read 📖:** [*GNU's Very Own Kernel Project Hurd is Anything But Dead*](https://itsfoss.com/news/gnu-hurd-progress-report/)

[36 Years in Making, GNU’s Very Own Kernel Project Hurd is Anything But DeadBetter late than never!![](https://itsfoss.com/content/images/icon/android-chrome-512x512-259.png)It's FOSSSourav Rudra![](https://itsfoss.com/content/images/thumbnail/gnu-hurd-progress-report.png)](https://itsfoss.com/news/gnu-hurd-progress-report/)