It's a simple thing and I was pretty sure it's well described, but surprisingly it is not so obvious.
Here I've found a detailed description of settings file. As it states it should be setting.json
file located %APPDATA%\Code\User\settings.json
, but in my case it's not there.
Can someone give me some help with restoring default settings in Visual Studio Code? I've hidden menu bar by accident and I can't find no way to show it back.
You can get your menu back by pressing/holding alt, you can then toggle the menu back on via the View menu.
As for your settings, you can open your user settings through the command palette:
- Press F1
- Type
user settings
- Press enter
From there you can delete the file's contents and save to reset your settings.
For a more manual route, the settings files are located in the following locations:
- Windows
%APPDATA%\Code\User\settings.json
- macOS
$HOME/Library/Application Support/Code/User/settings.json
- Linux
$HOME/.config/Code/User/settings.json
Extensions are located in the following locations:
- Windows
%USERPROFILE%\.vscode\extensions
- macOS
~/.vscode/extensions
- Linux
~/.vscode/extensions
If you want to reset everything,
go to %userprofile%\AppData\Roaming\Code
and delete the whole folder after you uninstall the VS code, then install it again.
also in %userprofile%\.vscode
delete extensions folder in case you want to delete all extensions
Thanks
Go to File -> preferences -> settings.
On the right panel you will see all customized user settings so you can remove the ones you want to reset. On doing so the default settings mentioned in left pane will become active instantly.
To reset the default settings I'm not sure, but if you're just trying to get a menu bar back then try right clicking on the anywhere on the toolbar area and clicking the toolbar you need.
EDIT:
Figured out how to reset the settings
Click on the tools button on the top, click "Import and Export Settings" and then click "Reset All Settings". Then go through the wizard from there.