Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.01 KB

setup_visual_studio_code.md

File metadata and controls

37 lines (27 loc) · 1.01 KB

Setup IDE: Visual Studio Code

Code Completion (Visual Studio Code)

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.

  1. Click File > Preferences > Settings.
  2. Search Auto Complete under the Workspace tab
  3. Find Python > Auto Complete: Extra Paths click on 'Edit in settings.json'
  4. On settings.json page, add the generated modules path for
    • python.autoComplete.extraPaths
    • python.analysis.extraPaths
  • Example of settings.json
{
    "python.analysis.extraPaths": [
       "<path-to-generated-modules>"
    ],
    "python.autoComplete.extraPaths": [
        "<path-to-generated-modules>"
    ]
}