You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides type hint auto-completion for Python, with completion items for built-in types, classes and the typing module.
4
4
5
5

6
6
@@ -12,14 +12,20 @@ Provides type hint auto-completion for Python.
12
12
13
13
* Can provide completion items for the typing module if it is imported.
14
14
15
+
## Settings
16
+
17
+
| Name | Description | Default
18
+
|---|---|---|
19
+
| workspace.search.limit | _(number)_ The maximum number of files searched when estimating types for a parameter.
20
+
21
+
If 0, only the current editor document is searched, which increases speed but can reduce estimation accuracy. | 20
22
+
15
23
## Installation
16
24
17
-
Get this extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=).
25
+
Get this extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=vscode-python-typehint).
18
26
19
27
## Known Issues
20
28
21
29
* 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).
22
30
23
-
* Up to 20 files within in the workspace are searched at a time. The limit is by design to keep the extension light weight, but there's probably a better solution.
"description": "When providing type hint items, the number of files searched will be limited by this setting."
48
+
"default": 20,
49
+
"description": "The maximum number of files searched when estimating types for a parameter. If 0, only the current editor document is searched, which increases speed but can reduce estimation accuracy."
0 commit comments