when I write Something in vs code by python It dosn’t show me the suggestion and when click ctr+space
it show me loading and it still like that .image 1
I think there is problem in setting.json but it looks correct this is my setting
notice : this problem happen just when I write python script
2
Answers
Check if you have enabled the IntelliSense feature for Python. Go to the vscode User Settings, search for "python.languageServer" and set it to "Microsoft". If that doesn’t work try setting "python.autoComplete.addBrackets": true to enable bracket auto-completion.
Also, do you have the python extension installed for vscode?
If neither of these solutions work, maybe try reinstalling vscode and add the python extension to it.
(Edit: you can try resetting your vscode settings to default. Under Settings > Open Settings (JSON) and delete the contents of the file. Then try restarting vscode)
Install the python interpreter, then install the python extension for vscode. Add the following configuration in the settings.json to get the automatic import feature without any additional settings.
https://code.visualstudio.com/docs/python/python-tutorial