Search code examples
windowsvisual-studio-code

Why is my VS Code always opened with the default profile?


Is there a way to make vscode always open with a profile that I created but not the default one?

I imported the profile which I exported from my old PC, and I switch the File > Preferences > Profiles to the profile that I just imported. At first it works fine, but after I close VS Code and open it up again with a new file, my vscode just opened with the default profile and there is no extensions and all font settings, color settings...etc. I have to switch the profile after I open VS Code evey single time.

I tried to find a way to set the profile I imported as default, but I didn't find that option. And I also found that I can only delete those profiles that created or imported by me. I try to delete the default profile and only keep my own profile but it just doesn' work that way.

I also serched on google to find a way but all I can found is VS Code's official docs. And I didn't find what I want in it.


Solution

  • I can replicate your issue - reverting to the Default profile when re-opening vscode in the Stable build v1.76.

    But not when testing in the Insiders Build v1.77. So apparently that annoyance has been fixed. And will probably be out in Stable v1.77 early April 2023.

    Maybe as a result of reverting the behaviour reported here: Opening a new folder should use the current profile.