mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Cannot toggle shared process when window.experimental.sharedProcessUseUtilityProcess: true (fix #174960) (#175000)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user