File tree 2 files changed +10
-0
lines changed
interpreter/configuration/interpreterSelector/commands
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ export namespace Octicons {
71
71
export const Search_Stop = '$(search-stop)' ;
72
72
export const Star = '$(star-full)' ;
73
73
export const Gear = '$(gear)' ;
74
+ export const Warning = '$(warning)' ;
74
75
}
75
76
76
77
export const DEFAULT_INTERPRETER_SETTING = 'python' ;
Original file line number Diff line number Diff line change @@ -328,6 +328,15 @@ export class SetInterpreterCommand extends BaseInterpreterSelectorCommand {
328
328
if ( index !== - 1 ) {
329
329
items [ index ] = recommended ;
330
330
}
331
+ items . forEach ( ( item , i ) => {
332
+ if (
333
+ isInterpreterQuickPickItem ( item ) &&
334
+ item . interpreter . path === 'python' &&
335
+ item . interpreter . envType === EnvironmentType . Conda
336
+ ) {
337
+ items [ i ] . label = `${ Octicons . Warning } ${ items [ i ] . label } ` ;
338
+ }
339
+ } ) ;
331
340
}
332
341
}
333
342
You can’t perform that action at this time.
0 commit comments