Is it possible to add custom fields in the comment section?

已回答

The automatically generated comments include all parameters and return as keys of the dict in the comment section. Is it possible to adde my own field name, i. e. ':example' as one more field?

 

:param channel:
:param relation_type:
:return:

 Thanks

0

You can add anything you want to your docstrings. But changing a docstring template is not possible at the moment https://youtrack.jetbrains.com/issue/PY-12327

0

请先登录再写评论。