I often like to use VSCode to quick view some projects to pull snippets from them. However, this leads to a ton of additional .vscode folders being placed on my drive in any folder I use the right-click -> Open with VSCode option.
Is there a way to disable this folder from being created every time vscode loads somewhere new?
If you want to remove all user data after uninstalling VS Code, you can delete the user data folders Code and . vscode . This will return you to the state before you installed VS Code. This can also be used to reset all settings if you don't want to uninstall VS Code.
vscode folder should be included in source as it contains shared project settings. Everyone on your project should be using the same settings.
Commit some files in . vscode folder. Recommendation is to generally exclude . vscode folder, but leave select JSON files that allow other developers to recreate shared settings.
Note: A VS Code "workspace" is usually just your project root folder. Workspace settings as well as debugging and task configurations are stored at the root in a .vscode folder. You can also have more than one root folder in a VS Code workspace through a feature called Multi-root workspaces.
This issue was due to the 'C/C++ for Visual Studio Code' extension being outdated. Upgrading to the latest version of this extension has fixed the problem.
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