Setup IDE: Visual Studio Code
January 10, 2025 ยท View on GitHub

1. Check the generated modules location
Check the location of the generated modules.
2. Download the visual studio code extension
Download the visual studio code extension for Python and restart the visual studio code.
3. Add Auto Complete path
Add the path for the auto completion from Visual Studio.
- Click File > Preferences > Settings.
- Search
Auto Completeunder the Workspace tab - Find Python > Auto Complete: Extra Paths click on 'Edit in settings.json'
- On
settings.jsonpage, add the generated modules path forpython.autoComplete.extraPathspython.analysis.extraPaths
- Example of settings.json
{
"python.analysis.extraPaths": [
"<path-to-generated-modules>"
],
"python.autoComplete.extraPaths": [
"<path-to-generated-modules>"
]
}