Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code on Mac

I installed Visual Studio Code on Mac/OSX (drop app in Applications) - uninstalled (moved the App to the Trash) - installed again

Since the second time I installed I didn't get the same start screen as during my first install I suppose somewhere in my file system Visual Studio Code writes something? I would like to know where (besides in the Application folder) Visual Studio Code writes files?

like image 893
guyd Avatar asked Feb 10 '23 06:02

guyd


2 Answers

VSCode uses another folder to store settings, including a flag to indicate if welcome should show or not. The folder is:

  • Windows: %APPDATA%\Code
  • Mac: $HOME/Library/Application Support/Code
  • Linux: $HOME/.config/Code
like image 149
Benjamin Pasero Avatar answered Mar 05 '23 17:03

Benjamin Pasero


I've looked on my wife's mac and can't find a trace of these settings, they're not in any standard folder ($HOME, /Libraries/Preferences, /System/Libraries/Preferences nor /Libraries/Containers).

But to open the original start screen, you can use Help -> Show Welcome.

The settings are stored though, if you run "defaults read" you will see a number of settings related to vscode mentioned, including the files you had open last time you closed. Since Visual Studio Code uses the GitHub Atom Shell under the hood, you need to read the settings for atom using

 defaults find atom

which will show you some data stored for the app.

like image 32
jessehouwing Avatar answered Mar 05 '23 19:03

jessehouwing