Skip to content

Commit e77c84f

Browse files
authored
Configure Tunnel Name leads to empty settings page for WSL (microsoft#191761)
1 parent 32d0dbf commit e77c84f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/remoteTunnel/electron-sandbox/remoteTunnel.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration).regis
789789
[CONFIGURATION_KEY_HOST_NAME]: {
790790
description: localize('remoteTunnelAccess.machineName', "The name under which the remote tunnel access is registered. If not set, the host name is used."),
791791
type: 'string',
792-
scope: ConfigurationScope.MACHINE,
792+
scope: ConfigurationScope.APPLICATION,
793793
pattern: '^(\\w[\\w-]*)?$',
794794
patternErrorMessage: localize('remoteTunnelAccess.machineNameRegex', "The name must only consist of letters, numbers, underscore and dash. It must not start with a dash."),
795795
maxLength: 20,
@@ -798,7 +798,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration).regis
798798
[CONFIGURATION_KEY_PREVENT_SLEEP]: {
799799
description: localize('remoteTunnelAccess.preventSleep', "Prevent the computer from sleeping when remote tunnel access is turned on."),
800800
type: 'boolean',
801-
scope: ConfigurationScope.MACHINE,
801+
scope: ConfigurationScope.APPLICATION,
802802
default: false,
803803
}
804804
}

0 commit comments

Comments
 (0)