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.
enter image description here
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.
Jack Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.