How to stop PyCharm from populating docstrings?

前端 未结 1 1862
轻奢々
轻奢々 2021-02-14 06:47

If I add a docstring to a method using the triple-quote, as soon as I type a space after the triple-quote, PyCharm will populate the docstring with the parameters the method tak

相关标签:
1条回答
  • 2021-02-14 07:39

    You need to set the docstrings format to "Plain". It defaults to reStructuredText, which is giving you those hints.

    The setting is found under Python Integrated Tools in your project settings.

    1. File > Settings
    2. Python Integrated Tools
    3. Docstring format

    Screenshot

    0 讨论(0)
提交回复
热议问题