diff --git a/src/client/common/constants.ts b/src/client/common/constants.ts index 8659c14dfd8f..8dcbf65cdda1 100644 --- a/src/client/common/constants.ts +++ b/src/client/common/constants.ts @@ -71,6 +71,7 @@ export namespace Octicons { export const Search_Stop = '$(search-stop)'; export const Star = '$(star-full)'; export const Gear = '$(gear)'; + export const Warning = '$(warning)'; } export const DEFAULT_INTERPRETER_SETTING = 'python'; diff --git a/src/client/interpreter/configuration/interpreterSelector/commands/setInterpreter.ts b/src/client/interpreter/configuration/interpreterSelector/commands/setInterpreter.ts index d55d66581b58..65d11bf0f958 100644 --- a/src/client/interpreter/configuration/interpreterSelector/commands/setInterpreter.ts +++ b/src/client/interpreter/configuration/interpreterSelector/commands/setInterpreter.ts @@ -328,6 +328,15 @@ export class SetInterpreterCommand extends BaseInterpreterSelectorCommand { if (index !== -1) { items[index] = recommended; } + items.forEach((item, i) => { + if ( + isInterpreterQuickPickItem(item) && + item.interpreter.path === 'python' && + item.interpreter.envType === EnvironmentType.Conda + ) { + items[i].label = `${Octicons.Warning} ${items[i].label}`; + } + }); } }