Steps are:
Click on settings icon present at bottom left of vscode screen

In the top right of screen, you should see
Open Settings (JSON)option
In the next screen, within double quotes start typing
python.p, you should start seeing all the suggestions & options available
Opening settings.json in VSCode - Python - Code with Mosh Forum
Selecting a python interpreter doesn't update settings.json
Visual Studio Code ignores settings.json field: python.pythonPath - Stack Overflow
`pythonPath` on `settings.json` automatically added to workspace settings
Videos
Steps are:
Click on settings icon present at bottom left of vscode screen

In the top right of screen, you should see
Open Settings (JSON)option
In the next screen, within double quotes start typing
python.p, you should start seeing all the suggestions & options available
its a problem of vscode version, newer releases indicate python.pythonPath is being deprecated in favor of python.defaultInterpreterPath. So if you try to set your variable "python.defaultInterpreterPath" to point to your desired interpreter, this will solve your problem.
I open a folder in vscode, this folder does not have a settings.json and I run ctrl + shift p, and select an interpreter. This does not create a settings.json file and add settings to it.
I have also tried opening file -> settings, editing workspace settings so I have a settings.json and selecting interpreter but still nothing is added.
I have also tried creating a ${folder}.code-workspace settings file and selecting interpreter but nothing is added.
How do I make my folder a valid workspace so I can select an interpreter and the settings.json will update?
Hi , I am new to VS Code, doing a python course. The course require to use an extension and change the settings by going and editing the json file. But when I open the settings.json file it is empty. If I click any option in the settings ui, that option is showing in the .json file but default settings are not shown. How do i fix this?