Skip to content

Settings unexpectedly appearing in the settings.json file #1118

@StellaHuang95

Description

@StellaHuang95

Eleanor reported an issue where certain settings are unexpectedly added to settings.json, for example:

{
  "python-envs.defaultEnvManager": "ms-python.python:system",
  "python-envs.defaultPackageManager": "ms-python.python:pip",
  "python-envs.pythonProjects": []
}

I was able to reproduce the issue using the following steps:

  1. Open a workspace.
  2. Ensure python.useEnvironmentsExtension is set to true or that the env extension is active.
  3. Open the Command Palette and run “Python: Select Interpreter” or click the interpreter in the status bar.
  4. Select a System Python interpreter (choose the global Python install).
  5. Check User Settings, notice python-envs.defaultEnvManager: "ms-python.python:system and python-envs.pythonProjects: [] are added.

Will move onto investigating the root cause next.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions