Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 13397  / 3 Years ago, wed, september 22, 2021, 3:16:39

Everywhere I look on google, I find out how to clear the VS-Code cache data on windows. To be fair, even though it is an open source project, its being built from Microsoft's dollar, and by MS developers.


Anyhow, I use Ubuntu (obviously), always have, and always will #Linux4Life. I would like to clear all of .VSCode's cached data, however, like much of the other Microsoft built software out there, Microsoft puts things in, what I consider to be, weird places.


I found one thread/question, on StackOverflow.com (this text is the link). The author suggested the following:


rm -rf ~/Library/Application Support/Code/Cache/*
rm -rf ~/Library/Application Support/Code/CachedData/*

I haven't tried typing it into the command-line, but I'm certain by looking at it that it is not going to do anything on my machine, as those (dir/file)-paths don't reference anything on my machine, or on any Ubuntu Distro that I know of. The question was in reference to Mac/Linux, so I am guessing the above is a Unix/Mac thing. despite one example displaying Forward slashes, and the other displaying backslashes. I would love if somebody knew something.


More From » directory

 Answers
5

It is located in the directory of the user that installed it: /home/user/.config/Code.


Inside there are three directories: Cache, CachedData, and CachedExtensionVSIXs.


[#1509] Thursday, September 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lassrake

Total Points: 400
Total Questions: 103
Total Answers: 98

Location: Netherlands
Member since Mon, Jun 22, 2020
4 Years ago
;