Skip to content

Commit

Permalink
Cannot toggle shared process when `window.experimental.sharedProcessU…
Browse files Browse the repository at this point in the history
…seUtilityProcess: true` (fix #174960) (#175000)
  • Loading branch information
bpasero committed Feb 22, 2023
1 parent 6efb4de commit 2b838fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/electron-sandbox/actions/developerActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
import { IFileService } from 'vs/platform/files/common/files';
import { INativeWorkbenchEnvironmentService } from 'vs/workbench/services/environment/electron-sandbox/environmentService';
import { URI } from 'vs/base/common/uri';
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';

export class ToggleDevToolsAction extends Action2 {

Expand Down Expand Up @@ -75,6 +76,7 @@ export class ToggleSharedProcessAction extends Action2 {
id: 'workbench.action.toggleSharedProcess',
title: { value: localize('toggleSharedProcess', "Toggle Shared Process"), original: 'Toggle Shared Process' },
category: Categories.Developer,
precondition: ContextKeyExpr.has('config.window.experimental.sharedProcessUseUtilityProcess').negate(),
f1: true
});
}
Expand Down

0 comments on commit 2b838fd

Please sign in to comment.