vscode-idl icon indicating copy to clipboard operation
vscode-idl copied to clipboard

Python extension still tries to activate a conda environment when an IDL terminal is opened

Open asher-m opened this issue 2 years ago • 1 comments

With the VSCode Python extension running in a project that uses both Python and IDL, the Python extension will still try to activate the environment in use (in this case, my base environment).

When I open an IDL terminal from the command pallet (ctrl + shift + p), I get the following:

C:\Users\asher\ion-transport>cd C:\Users\asher\ion-transport && idl
IDL 8.8.1 (Win32 x86_64 m64).
(c) 2021, Harris Geospatial Solutions, Inc.

Licensed for use by: <me>
License: <my license>
License expires 31-Aug-2022.
IDL> C:/Users/asher/Anaconda3/Scripts/activate

C:/Users/asher/Anaconda3/Scripts/activate     
   ^
% Syntax error.
IDL> conda activate base

conda activate base     
       ^
% Syntax error.
IDL> 

Not a functionality-impairing bug, but something to be aware of that could be fixed.

asher-m avatar Mar 30 '22 22:03 asher-m