Skip to content

Commit d1aa00a

Browse files
authored
Merge pull request microsoft#181824 from microsoft/tyriar/181812
Disable suggestEnabled setting usages for now
2 parents cf1abc4 + 3f8f062 commit d1aa00a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/vs/platform/terminal/node/terminalEnvironment.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,10 @@ export function getShellIntegrationInjection(
146146
}
147147
newArgs = [...newArgs]; // Shallow clone the array to avoid setting the default array
148148
newArgs[newArgs.length - 1] = format(newArgs[newArgs.length - 1], appRoot, '');
149-
if (options.shellIntegration.suggestEnabled) {
150-
envMixin['VSCODE_SUGGEST'] = '1';
151-
}
149+
// TODO: Uncomment when suggestEnabled is ready for use
150+
// if (options.shellIntegration.suggestEnabled) {
151+
// envMixin['VSCODE_SUGGEST'] = '1';
152+
// }
152153
return { newArgs, envMixin };
153154
}
154155
logService.warn(`Shell integration cannot be enabled for executable "${shellLaunchConfig.executable}" and args`, shellLaunchConfig.args);
@@ -190,9 +191,10 @@ export function getShellIntegrationInjection(
190191
if (!newArgs) {
191192
return undefined;
192193
}
193-
if (options.shellIntegration.suggestEnabled) {
194-
envMixin['VSCODE_SUGGEST'] = '1';
195-
}
194+
// TODO: Uncomment when suggestEnabled is ready for use
195+
// if (options.shellIntegration.suggestEnabled) {
196+
// envMixin['VSCODE_SUGGEST'] = '1';
197+
// }
196198
newArgs = [...newArgs]; // Shallow clone the array to avoid setting the default array
197199
newArgs[newArgs.length - 1] = format(newArgs[newArgs.length - 1], appRoot, '');
198200
return { newArgs, envMixin };

0 commit comments

Comments
 (0)