Provides type hint auto-completion for Python, with completion items for built-in types, classes and the typing module.
-
Provides type hint completion items for built-in types, estimated types and the typing module.
-
Estimates the correct type to provide as a completion item.
-
Can search Python files in the workspace for type estimation purposes.
Name | Description | Default |
---|---|---|
workspace.searchEnabled | (boolean) If enabled, other files in the workspace are searched when estimating types for a parameter. Disabling this will increase performance, but may reduce estimation accuracy. | true |
workspace.searchLimit | (number) The maximum number of files searched in a workspace search. Has no effect if workspace searching is disabled. | 10 |
-
Invalid code in the same or other workspace Python files can result in incorrect type predictions.
-
The difference between function and class constructor calls when detecting types is determined by the first letter being upper case (unless the class or function is defined in the currently edited document).
The extension can found on the Visual Studio Marketplace.