-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Python tooltip strange behaviour #1924
Comments
It is vscode issue. Python documentation has embedded line breaks, but width of the tooltip is fixed so test does not always flow nicely. |
Thanks for telling me! (and i'm sorry for posting the issue on the wrong project) |
@MikhailArkhipov Notice what it says under |
I have exactly the same issue in the parameter hints. I use the jedi setting because the language server is worse (all line breaks are removed after the signature). Example source code for getting the error: |
Closing in favour of microsoft/vscode#14165. |
Environment data
Actual behavior
Sometimes when i am writing the arguments of a function the lines in the tooltip are messed up, as shown in the image below
Moreover, if the argument has a default value type of
str
, this happensExpected behavior
I expect the lines in the tooltip to look like this
Steps to reproduce:
To reproduce the result in the first image:
import pandas as pd
pd.DataFrame(
and wait for the tooltip to appearLogs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: