Issue
Spyder (the Python IDE) generates a function docstring automatically when you click Enter
after the first line of the function def. How can one disable this feature?
I've looked around in Tools (for instance in Tools -> Preferences -> Editor
) and did not find a way to do it. But there are tons of features in Spyder so maybe I'm missing it.
Solution
When you type in the triple quotes, an icon will pop up that says Generate docstring
. When this happens, do not hit Enter
. Just hit esc
.
Until we can just deactivate it in settings, that's what I've been doing.
Answered By - eric
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.