Skip to content

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

Closed
saulshanabrook opened this issue Jan 14, 2020 · 7 comments
Closed

Suggest Type Annotations Using Mypy Daemon #9586

saulshanabrook opened this issue Jan 14, 2020 · 7 comments
Labels
area-linting feature-request Request for new features or functionality

Comments

@saulshanabrook
Copy link

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

@saulshanabrook saulshanabrook added triage-needed Needs assignment to the proper sub-team feature-request Request for new features or functionality labels Jan 14, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jan 16, 2020
@karthiknadig
Copy link
Member

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.

@ssbarnea

This comment has been minimized.

@brettcannon

This comment has been minimized.

@ssbarnea
Copy link

Thanks! Having that label does send a really good message, as it invites someone to try to make a PR for this popular request.

@luabud
Copy link
Member

luabud commented Apr 28, 2021

Now that we have Pylance, that would be the best place to get this support from.

@luabud luabud closed this as completed Apr 28, 2021
@ssbarnea

This comment has been minimized.

@karthiknadig
Copy link
Member

@ssbarnea We have two language servers JediLSP (https://github.com/pappasam/jedi-language-server) and Pylance you can make this recommendation on either of them.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-linting feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants