-
Notifications
You must be signed in to change notification settings - Fork 768
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
Code prompt docstring displays incorrectly #6419
Comments
Thanks for reporting this issue. I can reproduce it.
Modify as you like
|
Thanks a lot! But I didn't find Further more, I found a new mistakes with code like this: class A():
"""
some docs
```c
double a[10];
```
some docs
""" |
Yeah, it's best to use this setting in the next stable 2024.10.1, which will be out approximately next week. |
Environment data
Another PC with Windows 11, latest release VS Code and Python 3.11.7 has the same phenomenon.
Code Snippet
Repro Steps
Type in the code, and mouse over function or method. Code prompt only shows the first line of docstring.
Expected behavior
Display code documents like this:
Actual behavior
Seems that specific strings - at present I found
Args:
,Params:
andParameters:
(with colon) - can cause the error.Logs
I'm not sure if log refers to this --
The text was updated successfully, but these errors were encountered: