With the default reStructuredText format, PyCharm highlights words such as param
, type
, raise
, and return
, such as in the example below:
enter image description here
However, when I try another style such as Google, none of the docstring stub generated is similarly highlighted.
I went to settings > Tools > Python Integrated Tools > Docstrings
and changed Docstring format
to various styles included by default like Numpy and Google, but only reStructuredText has docstring highlighting.