IDEA's python plugin used to helpfully insert docstring stubs for function definitions after typing out the function definition in Python. However, since a recent update, no luck. Also ALT+ENTER, doesn't provide the option in the dropdown to insert a doctring stub :(
This post shows how to disable this behavior in older versions. I havn't modified this setting or turned anything off in: File > Settings > Python Integrated Tools > Docstring format
I also installed IDEA+PyCE on a new machine - same behavior.
Move your cursor right after the def
keyword. Then press AlT+ENTER
, select insert documentation string stub
from the dropdown that appears.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With