How Auto-completion Works

Index of All Documentation » Wing Pro Reference Manual » Source Code Editor » Auto-completion »

The information shown in Wing's auto-completer comes from several sources: (1) static analysis of Python code, (2) runtime introspection of extension modules, (3) inspection of keywords and builtins in the active Python version, (4) introspection of the live runtime state, when the debugger is active or when working in the Python Shell or Debug Console, (5) enumeration of relevant code snippets, and (6) any user-provided interface description files.

See Source Code Analysis for more information on how analysis works and how you can help Wing determine the types of values.

In non-Python files, the auto-completer is limited to words found within similar contexts in the file, syntax highlighting keywords defined for that file type, and any snippets relevant to the editing context.