vscode-python-typehint
vscode-python-typehint copied to clipboard
Auto import `typing` module when a type hint is used from this module
Would it be possible to automatically add import typing to the import section of the Python script when a type hint is used from typing module?
@mohammed-safwan I like the idea but don't know if it's possible via the extension API. I'm open to pull requests on this from anyone interested, or might look into it myself otherwise.
It would be nice to have as a setting also so it can be disabled.