-
Notifications
You must be signed in to change notification settings - Fork 4
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
This doesn't appear to work with python>=3.6 type hints #2
Comments
any news @SamLewis0602 ? |
Sorry, I haven't had time to figure this out and likely won't soon. Feel free to close this and I can always reopen it once I've got more info. Your screenshot has convinced me that it's something with my environment, I just haven't had the time to dig in and figure out what it is 😁 |
I just discovered, if I enable Jedi as the Intellisense engine in settings (just search jedi in settings to find it) then the botostubs methods work. So this appears to be an issue with type hints. It also looks like they have an as-of-yet unreleased fix here: microsoft/python-language-server#546 |
Thanks for letting us know. I had some trouble with VS Code as well. (I
only installed it to test botostubs)
…On Fri, 1 Mar 2019 at 20:04, Sam Lewis ***@***.***> wrote:
I just discovered, if I enable Jedi as the Intellisense engine in settings
(just search jedi in settings to find it) then the botostubs methods work.
So this appears to be an issue with type hints. It also looks they have an
as-of-yet unreleased fix here: microsoft/python-language-server#546
<microsoft/python-language-server#546>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA-SlWCvQqSRY-G7JMO_XLk2_9y1tRBZks5vSU-mgaJpZM4bBiSx>
.
|
I got this working by disabling the Jedi Intellisense engine, opting for the Microsoft Python Language Server instead. That's accomplished by adding the following to my user settings JSON configuration.
Also, I posted the issue with the |
The best way to get work done in VS code Reload the editor and you can get the functionality |
The above workaround is for VS code using botostubs |
As of python 3.6, type hints have changed from
to
and I can't get it to work in VS code. I never used it in python 3.5 so I'm not sure if the new type hints are the issue or it's just not working with my vscode for some other reason, but I wanted to rule out the type hint format change.
The text was updated successfully, but these errors were encountered: