forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Example:
import typing
if typing.TYPE_CHECKING:
from sqlite3 import Cursor
def _session_add_user(
args: argparse.Namespace, cursor: 'Cursor',
bc: BasketCase) -> User:If I hold my mouse cursor over that string annotation, it doesn't open a tooltip for its definition like it does for non-string annotations.
I know PyCharm has this feature.
Documentation: https://docs.python.org/3.10/library/typing.html#typing.TYPE_CHECKING
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team