How to stop PyCharm from populating docstrings?

If I add a docstring to the method using the triple quotation mark, as soon as I type a space after the triple quotation mark, PyCharm will populate the docstring with the parameters that the method accepts and a return value, for example:

def fill_blank(self, direction): """ :param direction: :return: """ 

I searched PyCharm's settings for "docstring" and "stub" and disabled everything that appears, even if it doesn't look like this particular behavior; and I googled tall and short, but can't figure out how to make him stop. Does anyone know how? (This is in PyCharm CE 3.4)

+7
python intellij-idea pycharm docstring
source share
1 answer

You need to set the docstrings format to "Plain". The default is reStructuredText, which gives you these tips.

The parameter is in the Python Integrated Tools in your project settings.

  • File> Preferences
  • Python Integrated Tools
  • Docstring format

Screenshothot

+12
source share

All Articles