-
Notifications
You must be signed in to change notification settings - Fork 771
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
type alias docstring doesn't show in tooltip #3402
Comments
Agreed, this seems like a regression, since I know it was working before when I reported #1815. Here's a screenshot of an alias I made recently - surprised to see that it didn't show the docstring that I wrote. |
I believe this will be fixed in the next release. If you install the latest pyright extension this behaves as expected. The next version of pylance will pick up any changes in pyright. |
Looks like I was wrong. This is caused by pylance including Dict's doc string. This is not fixed yet. |
This issue has been fixed in prerelease version 2022.11.11, which we've just released. You can find the changelog here: CHANGELOG.md |
I found this issue #1815 saying this is implemented, but it isn't working.
Environment data
Code Snippet
Expected behavior
tooltip says "xyz"
Actual behavior
tooltip is for
dict
classThe text was updated successfully, but these errors were encountered: