Intellisense not recognising type hinting for python 3

Viewed 5661

I would like to use Visual Studio and see intellisense using type hints, for example in the function argument list, to workout the type of a variable.

enter image description here

This can be achieved through isinstance(param,type) statements, but I wonder if we can get it to work without these additional statements:

enter image description here

Note: I have tried Visual Studio with Python Tools for Visual Studio and also the early 2017 Visual Studio Preview, that has python support built in, but neither seem to appreciate type hints.

1 Answers
Related