Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get pycharm to NOT auto-insert a closing docstring?

I hate anything in any IDE that inserts anything that I haven't explicitly told it to. Accordingly, I've turned off all of the auto-complete and auto-insert I can find, but I cannot find out how to kill this for docstrings. I type """ and press Space and it puts this in, instead:

"""
"""

How can I turn this behaviour off?

like image 569
Jack Aidley Avatar asked Mar 16 '15 15:03

Jack Aidley


1 Answers

It's under:

Editor -> General -> Smart Keys

Uncheck Insert pair quote

Also uncheck Insert documentation comment stub

like image 118
Peter Wood Avatar answered Oct 30 '22 16:10

Peter Wood