File tree Expand file tree Collapse file tree
interpreter/configuration/interpreterSelector/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ export namespace Octicons {
7171 export const Search_Stop = '$(search-stop)' ;
7272 export const Star = '$(star-full)' ;
7373 export const Gear = '$(gear)' ;
74+ export const Warning = '$(warning)' ;
7475}
7576
7677export const DEFAULT_INTERPRETER_SETTING = 'python' ;
Original file line number Diff line number Diff line change @@ -328,6 +328,15 @@ export class SetInterpreterCommand extends BaseInterpreterSelectorCommand {
328328 if ( index !== - 1 ) {
329329 items [ index ] = recommended ;
330330 }
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+ } ) ;
331340 }
332341 }
333342
You can’t perform that action at this time.
0 commit comments