Custom PyCharm docstring stubs (i.e. for google docstring or numpydoc formats) Custom PyCharm docstring stubs (i.e. for google docstring or numpydoc formats) python python

Custom PyCharm docstring stubs (i.e. for google docstring or numpydoc formats)


With PyCharm 5.0 we finally got to select Google and NumPy Style Python Docstrings templates.

It is also mentioned in the whatsnew section for PyCharm 5.0.

How to change the Docstring Format:

File --> Settings --> Tools --> Python Integrated Tools

There you can choose from the available Docstrings formats:

Plain, Epytext, reStructuredText, NumPy, Google

As pointed out by jstol: for Mac users, this is under

PyCharm -> Preferences -> Tools -> Python Integrated Tools.


As CrazyCoder mentions, its a ticket. Right now, you can only use EpyType and reStructuredText.


Just to be make @Nras answer explicit, as of PyCharm 5.0:

File > Settings > Tools > Python Integrated Tools > Docstrings > Google