How do I flush the cache for my Visual Studio Code on my Mac El Capitan OS?
Specifically, it is stored under %LocalAppData%/Microsoft/vscode-cpptools on Windows, and for Linux and macOS it is under ~/. vscode-cpptools . By using the user directory as the default path, it will create one cache location per user for the extension.
Here is how to clear cache on Mac with Terminal: Type “terminal” on Spotlight. Type these commands and enter: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say cache flushed.
Cached files usually speed up your web browsing experience, saving you bandwidth at the same time. You may occasionally want to clear your Mac's browser caches because they can end up using a lot of disk space unnecessarily. Deleting your browser's cache will also hide your online activity, protecting your privacy.
rm -rf ~/Library/Application\ Support/Code/Cache/* rm -rf ~/Library/Application\ Support/Code/CachedData/*
I believe this is what you are asking... how to clear your file history cache (pulled from this git issue). It is very simple!
To clear your entire history ->
To clear history of specific files -> ">Remove From History"
If you are looking to clear your user or workspace settings, they are just files that can be cleared inside VSCode or manually deleted from your file system. This is documented in the VSCode docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With