Visual Studio Code (VS Code) is a popular code editor that provides excellent support for Python development. To integrate Miniconda with VS Code, follow these steps:
Step 1: Install the “Python” extension within VS Code. This extension provides features such as syntax highlighting, code linting, and debugging support for Python.
Step 2: Open VS Code and navigate to the settings by clicking on “File” > “Preferences” > “Settings”. Alternatively, you can use the keyboard shortcut Ctrl + , (Cmd + , on macOS).
Step 3: In the settings, search for “Python: Conda Path” and set the path to the Conda executable. By default, it should be located in the Miniconda installation directory.
Step 4: Search for “Python: Default Interpreter Path” and select the interpreter associated with the virtual environment you created.
Step 5: Now, whenever you open a Python file in VS Code, it will automatically detect and use the Python interpreter from the specified virtual environment.
Finding your Anaconda Python interpreter path:

Check out examples here
C:\Users\NAME_OF_USER_XXX\AppData\Local\Continuum\anaconda3\envsC:\ProgramData\Miniconda3\envs\C:\Users\jsmith\Anaconda3\python.exe