microsoft / microsoft/vscode-mypy
Missing Language Server Features (autocomplete & inlay hints)
- Dominant language
- Python
- Stars
- 150
- Forks
- 39
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 8
Description
There are a lot of things that are working, so this is a really great extension! But I noticed some helpful features are still missing.
# Autocomplete on imports
It would be really nice if we could autocomplete imports from mypy!
## mypy
## pylance
# Autocomplete on objects
This may be relayed to the previous, but also getting autocompletes on objects as well
## mypy
## pylance
# Inlay hints
Inlay hint support would be really great too 🥲
## mypy
(notice no inlay hints)
## pylance
# String interpolation shows wrong type
And this was a subtle issue I noticed, it shows the wrong type when hovering over a variable used in string interpolation.
* `(variable) foo: int` is from PyLance
* and `mypy: str` is from MyPy.
`foo` is an `int`, so it should show `int`. It appares mypy is showing the coerced type of the variable.
Contributor guide
Assessment
This issue has not been assessed yet.