Auto template for function / class documentation
已回答
Hi all,
Setup: Pycharm 2019.3, Python3
When creating a new function or class and typing """ + Enter in order to write the documentation but the documentation template is not been created automatically. Do I need to activate it manually? is so how?
Cheers.
请先登录再写评论。
Hi,
Perhaps the docstring format has changed to Plain instead of reStructuredText in Settings/Preferences | Tools | Python Integrated Tools
due to the known bug https://youtrack.jetbrains.com/issue/PY-39497
Thank you Sergey!
As always quick response :)
So, for now, the workaround is to change it manually for each project?
Yes, or rollback to 2019.2.5 for now and wait for 2019.3.1 release where the fix is included.