Skip to content

Commit

Permalink
add item label (#213422)
Browse files Browse the repository at this point in the history
* add item label

* update active window label
  • Loading branch information
sandy081 authored May 24, 2024
1 parent 788d0e0 commit 2a96819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/workbench/common/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ export class DynamicWindowConfiguration extends Disposable implements IWorkbench
'type': ['string', 'null'],
'default': null,
'enum': [...this.userDataProfilesService.profiles.map(profile => profile.name), null],
'description': localize('newWindowProfile', "Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the last window or the default profile if no previous window exists."),
'enumItemLabels': [...this.userDataProfilesService.profiles.map(p => ''), localize('active window', "Active Window")],
'description': localize('newWindowProfile', "Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the default profile if no active window exists."),
'scope': ConfigurationScope.APPLICATION,
}
}
Expand Down

0 comments on commit 2a96819

Please sign in to comment.