File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/vs/platform/terminal/node Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,10 @@ export function getShellIntegrationInjection(
146
146
}
147
147
newArgs = [ ...newArgs ] ; // Shallow clone the array to avoid setting the default array
148
148
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
+ // }
152
153
return { newArgs, envMixin } ;
153
154
}
154
155
logService . warn ( `Shell integration cannot be enabled for executable "${ shellLaunchConfig . executable } " and args` , shellLaunchConfig . args ) ;
@@ -190,9 +191,10 @@ export function getShellIntegrationInjection(
190
191
if ( ! newArgs ) {
191
192
return undefined ;
192
193
}
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
+ // }
196
198
newArgs = [ ...newArgs ] ; // Shallow clone the array to avoid setting the default array
197
199
newArgs [ newArgs . length - 1 ] = format ( newArgs [ newArgs . length - 1 ] , appRoot , '' ) ;
198
200
return { newArgs, envMixin } ;
You can’t perform that action at this time.
0 commit comments