Source Code Analysis
Many of Wing's features rely on a powerful source code analysis engine that runs in the background as you work. This inspects all the Python code in your project, and all the code that it uses, as found through import statements.
The source code analysis engine inspects code using type inference, type annotations, and user-provided interface description files. It also makes use of live runtime state whenever available, by loading and inspecting extension modules, and by introspecting symbols in the context of an active debug process or the integrated Python Shell.
Section Contents
18.0.
How Analysis Works
18.1. Helping Wing Analyze Code
18.1.0. Setting the Correct Python Environment
18.1.1. Using Live Runtime State
18.1.2. Adding Type Hints
18.1.3. Defining Interface Files
18.1.4. Helping Wing Analyze Cython Code
18.2. Analysis Disk Cache
18.1. Helping Wing Analyze Code
18.1.0. Setting the Correct Python Environment
18.1.1. Using Live Runtime State
18.1.2. Adding Type Hints
18.1.3. Defining Interface Files
18.1.4. Helping Wing Analyze Cython Code
18.2. Analysis Disk Cache