Skip to content

Setting for new window behavior in relation with what profile will be used #194105

Closed
@alefteris

Description

@alefteris

Currently if a vscode window is open with profile Foo active and then I open a new vscode window, the new window will use also the profile Foo.

It would be nice to make this behavior customizable so that I can choose to open new windows with the Default profile always. This should affect only new empty windows or new windows with a workspace that has no associated profile already.

The available options for this setting could be something like:

Profile used for new windows

  • Use last used profile (current behavior)
  • Use default profile (new option)

Current workarounds are:

  • Choose the default Profile manually in the new window
  • Launch the new window from the terminal using code --profile "Default"
  • Customize the vscode launch icon of the OS to apply the --profile "Default option. This can be tricky and it might get overwritten with an app update.

A related feature request that I found is #184594. It asks for a way to open a new window with a specific profile, using the Command Palette. If this is implemented it would provide another way to switch to the default profile. But I still think it would be nice to make the new window behavior customizable with this new setting.

Thanks

Using VS Code:
Version: 1.82.2
Commit: abd2f3d
Date: 2023-09-14T05:51:20.981Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.2.0-33-generic

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityuser-profilesUser profile managementverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions