Clear Visual Studio Code data
- Linux onlyThis script improves your privacy on Linux
- Multiple actionsThis page belongs to a category, containing some changes with similar goal.
- Impact: Minimum
System Functionality / Data Loss Risk: Low
This action improves privacy with minimal impact when you run the recommended script.
- Bash (Shell script)These changes use Linux system commands to update your settings.
- 3 scripts
- No subcategories
- Sudo/root requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
Visual Studio Code, also commonly referred to as VS Code, is a source-code editor made by Microsoft 1. Visual Studio Code saves data that reveals user behavior and preferences.
Sources
- Visual Studio Code. Wikipedia. en.wikipedia.org. (2022).
Original: https://en.wikipedia.org/wiki/Visual_Studio_Code
Archived: https://web.archive.org/web/20221029142001/https://en.wikipedia.org/wiki/Visual_Studio_Code
Apply Now
Choose one of two ways to apply:
- Normal
- Maximum
Normal — Everyday Privacy (Enterprise-Grade)
- Recommended for all
- Safe for daily use
- No impact on system stability
Read more about Normal and other protection levels
Maximum — Strongest Possible Privacy (Military-Grade)
- Military-grade privacy protection
- Major system impact
- Consider having system backup.
Read more about Maximum and other protection levels
Help
How to apply "Clear Visual Studio Code data" using script
- ≈ 3 min to complete
- Tools: Web Browser
- Difficulty: Medium
- ≈ 6 instructions
- 1
Choose protection
Choose one of the options with different impact levels:
Normal
Some safe changes minimal system impact.Maximum
Some impactful changes with high system impact.
- 2
Download
Download the script file by clicking on thebutton above. - 3
Keep the file
If warned by your browser, keep the file. - 4
Open
Open the downloaded file. - 5
Exit
Once it's done, press any key to exit the window. - 6
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Shows the code
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply "Clear Visual Studio Code data" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the category name: Clear Visual Studio Code data
- Check the category by clicking on the checkbox of the category.
Applying Normal to limit the impact.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
Explore This Guide
- 3 Privacy settings
Choose what to protect based on your needs: Click any option to learn more about what it does. Each change can be applied and reversed individually.
- Some settings and commands may require technical knowledge to apply correctly.
- Most users find the Normal protection above sufficient.
Clear Visual Studio Code crash reports
Visual Studio Code stores crash reports that later on are uploaded to Microsoft servers by default. It collects crash reports in "exthost Crash Reports" and "Crash Reports" directories. Deleting crash reports does not cause you any data loss that would affect your productivity.
Clear Visual Studio Code cache
Unless you have unsaved changes, deleting the cache does not result in data loss. However deleting cached data will lead to a slower initial experience as the files are cached again. Visual Studio Code does not follow platform conventions for cache directories, but stores them in user data directories instead. Folders include "Cache", "CachedData", "Code Cache", "GPUCache", "CachedExtensions", "CachedExtensionVSIXs".
Clear Visual Studio Code logs
Deleting Visual Studio Code logs does not cause any data loss, but hides usage patterns. The logs are stored in "{user data dir}/logs" folder.
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Clear data from development tools
- Clear third-party application data
- Privacy cleanup
This category includes tools that are typically used by developers, also known as "developer tools". These tools allow a developer to create, test, and debug softw...
Scripts in this category clear data for third-party applications installed on the operating system. Third-party applications are not typically distributed as part ...
These scripts allow you to increase privacy by deleting collected data about you and your behavior.
Same Goal
Other guides in Clear data from development toolsSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.