how to change pycharm default commenting style for function?

已回答

How to change pycharm default commenting style for function?

consider

when you type """"" under a function definition, you will see Pycharm automatically create a commenting style for you.

like this

"""
validating the closure data in posteriori sense

:param config_dict:
:param states:
:param closure:
:return:
"""


I think it is ugly and want to change it to the style of Scikit-learn ( a python library). How?

3

Hi Pswpeterpab! You can switch docstring style in Settings | Tools | Python Integrated Tools | Docstring format, you are looking for NumPy style I believe.

9
Avatar
Permanently deleted user

Can the commenting style be customized ? 

i.e, Numpy style may be adequate but one might want to customize some parts of the syntax.

1

Hi, do you mean a docstring style? Unfortunately, no. Please feel free to submit a feature request in PyCharm's bug tracker https://youtrack.jetbrains.com/issues?q=project:%20PyCharm

1
Avatar
Permanently deleted user

Thank you. I will submit the request

1
Avatar
Permanently deleted user

@... Could you post a link to this request? Would like this as well.

0

请先登录再写评论。