-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Suggest Type Annotations Using Mypy Daemon #9586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thanks! Having that label does send a really good message, as it invites someone to try to make a PR for this popular request. |
Now that we have Pylance, that would be the best place to get this support from. |
This comment has been minimized.
This comment has been minimized.
@ssbarnea We have two language servers |
MyPy recently introduced the ability to suggest type annotations for functions: https://mypy.readthedocs.io/en/latest/mypy_daemon.html#static-inference-of-annotations. It would be great to have this integrated into VS Code's UI, so you could get a suggestion for type hints. From their docs, it seems like this is already supported in PyCharm.
It looks like this would depend on first getting MyPy daemon supported in VS Code: #1577
The text was updated successfully, but these errors were encountered: