Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Auto Generation of .vscode Folder

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?

like image 795
atom0s Avatar asked Oct 02 '16 09:10

atom0s


People also ask

Can I remove .VS Code folder?

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.

Should you ignore .VS Code folder?

vscode folder should be included in source as it contains shared project settings. Everyone on your project should be using the same settings.

Should .VS Code folder be committed?

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.

What is the .VS Code folder?

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.


1 Answers

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.

like image 85
atom0s Avatar answered Nov 22 '22 17:11

atom0s