Methods doc string always unfolded
Hi,
I am running into this problem. I went to Editor_General_Code Folding and checked in "Fold by Default" Documentation comments and method bodies.
When I close and open pycharm, nothing is folded by default as the "Fold by default" is supposed to be doing. It's quiete annoying and I loose a lot time refolding every single time the docstring when I open a method.
Is is this a known bug or is there something that I am not doing right?
Thank you
请先登录再写评论。
I can't reproduce it.
What OS and PyCharm version do you use?
I am on windows 10 and pycharm 2020.1. In the gif bellow you can see how after reopening pycharm, methods and doc string are not folder
Is it reproducible in a new project with this function?
def foo():
"""
description
:return:
"""
print(1)
If so, try disabling all custom plugins, if you use any.
Yes, same problem. I tried a new project, that function you wrote, and disabling all plugins.
It is not working. I think I will switch to visual studio. Thanks for your help though.
cheers.
Are there any exceptions in your idea.log (Help | Show Log in...)?
Not sure what I should be looking at in the log file. I did a quick search and I see a bunch of: 2020-04-28 01:11:07,491 [ 15291] INFO - letons.PySkeletonGenerator$Run - exceptions ('built-in')
Is there any thing specifically that I should check? The file is almost 5 MB of code.
The INFO flag is not relevant. I could check the log for you, but since the forum doesn't allow attachments, please file an issue to our issue tracker https://youtrack.jetbrains.com/issues/PY and attach it there.
Hi,
I just posted the issue in the link you sent me.
thanks.
ps: I noticed in the idea.log by doing a search somethiong about "malformed docstring". Is it related to that maybe?