Auto template for function / class documentation

Answered

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.

-1
3 comments

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

0

Thank you Sergey!

As always quick response :)

So, for now, the workaround is to change it manually for each project?

0

Yes, or rollback to 2019.2.5 for now and wait for 2019.3.1 release where the fix is included.

0

Please sign in to leave a comment.