1# In .vscode/settings.json
2"python.autoComplete.extraPaths": ["./path-to-your-code"],
1# I use pylance now. I added this. Problem solved.
2"python.analysis.extraPaths": ["./path-to-code/"],
3# I tried this before, but not working.
4"python.autoComplete.extraPaths": ["./path-to-your-code"],
5