Skip to content

Settings Review: Python ext & Python Envs ext #861

@eleanorjboyd

Description

@eleanorjboyd

Settings in Python Extension and their status on support in the Python Environments Extension

Setting Description Supported in Python Envs Ext Deatils
python.condaPath Path to the conda executable to use for activation (version 4.4+) yes should carry over
python.createEnvironment.contentButton Show or hide Create Environment button in the editor for requirements.txt or other dependency files. ? need to decide if it is worth keeping
python.createEnvironment.trigger Detect if environment creation is required for the current project ? should carry over
python.defaultInterpreterPath Path to default Python to use when extension loads up for the first time, no longer used once an interpreter is selected for the workspace. See here to understand when this is used Yes Yes
python.envFile Absolute path to a file containing environment variable definitions. Yes Yes, must have python.terminal.useEnvFile enabled
python.globalModuleInstallation Whether to install Python modules globally when not using an environment. ? useful and make sure it carries over
python.pipenvPath Path to the pipenv executable to use for activation. ? should carry over
python.pixiToolPath Path to the pixi executable. ? discuss with ext author
python.poetryPath Path to the poetry executable ? should carry over
python.terminal.activateEnvInCurrentTerminal Activate Python Environment in the current Terminal on load of the Extension. yes->no deprecating in favor of python-envs.terminal.autoActivationType
python.terminal.activateEnvironment Activate Python Environment in all Terminals created. yes->no deprecating in favor of python-envs.terminal.autoActivationType
python.terminal.executeInFileDir When executing a file in the terminal, whether to use execute in the file's directory, instead of the current open folder. works should but need to investigate if it currently does
python.terminal.launchArgs Python launch arguments to use when executing a file in the terminal. Yes not impacted by move
python.venvFolders Folders in your home directory to look into for virtual environments (supports pyenv, direnv and virtualenvwrapper by default). yes->no to be deprecated in favor of globalSearchPath
python.venvPath Path to folder with a list of Virtual Environments (e.g. ~/.pyenv, ~/Envs, ~/.virtualenvs). yes->no to be deprecated in favor of globalSearchPath

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions