How to enable python docstring insert in 2016. Intellij IDEA / Python Community Edition 5.1.145.45

The python plugin for IDEA used to conveniently enter docstring stubs for defining functions after typing a function definition in Python. However, since the last update, no luck. Also ALT + ENTER does not provide a parameter in the drop-down list to insert a doctring stub: (

This post shows how to disable this behavior in older versions. I have not changed this setting or turned off anything: File> Preferences> Python Integrated Tools> Docstring Format

I also installed IDEA + PyCE on a new machine - the same behavior.

+7
python intellij-idea pycharm
source share
1 answer

Move the cursor right after the def keyword. Then press AlT+ENTER , select insert documentation string stub from the drop-down list. Move cursor to position immediately after <code> def </code> keyword Press ALT + ENTER

+1
source share

All Articles