File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/vs/workbench/contrib/relauncher/browser Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface IConfiguration extends IWindowsConfiguration {
27
27
editor ?: { accessibilitySupport ?: 'on' | 'off' | 'auto' } ;
28
28
security ?: { workspace ?: { trust ?: { enabled ?: boolean } } } ;
29
29
window : IWindowSettings & { experimental ?: { windowControlsOverlay ?: { enabled ?: boolean } ; useSandbox ?: boolean } } ;
30
- workbench ?: { experimental ?: { settingsProfiles ?: { enabled ?: boolean } } } ;
30
+ workbench ?: { experimental ?: { settingsProfiles ?: { enabled ?: boolean } } ; enableExperiments ?: boolean } ;
31
31
}
32
32
33
33
export class SettingsChangeRelauncher extends Disposable implements IWorkbenchContribution {
@@ -42,6 +42,7 @@ export class SettingsChangeRelauncher extends Disposable implements IWorkbenchCo
42
42
private accessibilitySupport : 'on' | 'off' | 'auto' | undefined ;
43
43
private workspaceTrustEnabled : boolean | undefined ;
44
44
private settingsProfilesEnabled : boolean | undefined ;
45
+ private experimentsEnabled : boolean | undefined ;
45
46
46
47
constructor (
47
48
@IHostService private readonly hostService : IHostService ,
@@ -123,6 +124,12 @@ export class SettingsChangeRelauncher extends Disposable implements IWorkbenchCo
123
124
changed = true ;
124
125
}
125
126
127
+ // Experiments
128
+ if ( typeof config . workbench ?. enableExperiments === 'boolean' && config . workbench . enableExperiments !== this . experimentsEnabled ) {
129
+ this . experimentsEnabled = config . workbench . enableExperiments ;
130
+ changed = true ;
131
+ }
132
+
126
133
// Notify only when changed and we are the focused window (avoids notification spam across windows)
127
134
if ( notify && changed ) {
128
135
this . doConfirm (
You can’t perform that action at this time.
0 commit comments