Skip to content

python.pythonPath is automatically added to workspace settings #265

@thernstig

Description

@thernstig

Environment data

VS Code version: 1.18.1
Python Extension version: 0.8.0 (9 November 2017)
Python Version: 3.6.1
OS and version: Windows 10 Home, Version 1703, OS-version 15063.483

Actual behavior

At certain points when working in VS Code (starting VS Code is one example) it automatically adds the configuration "python.pythonPath" to the WORKSPACE SETTINGS file (vscode/settings.json).

Good to know is that the project has a .vscode/extensions.json file with the following content:

{
	"recommendations": [
		"ms-python.python"
	]
}

Also good to know is that I have "python.pythonPath" configured in my USER SETTINGS.

Expected behavior

It is not expected for the "python.pythonPath" to be automatically added to the .vscode/settings.json file.

Steps to reproduce:

  • Install "ms-python.python"
  • Add the following to .vscode/extensions.json:
{
	"recommendations": [
		"ms-python.python"
	]
}
  • Make sure your .vscode/settings.json (WORKSPACE SETTINGS) is empty
  • Close and then re-start VS Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions