Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I stop PyCharm from autocompleting class methods?

When I type:

def method(, PyCharm jumps in with def method(self):. I would like to disable this behaviour.

like image 703
AsksAnyway Avatar asked May 02 '14 16:05

AsksAnyway


Video Answer


1 Answers

The option is located at:

Settings > Editor > Smart Keys > Insert Self...

EDIT: As of pycharm 2017.1 it's under File -> Settings -> Editor -> General -> Smart Keys

like image 96
AsksAnyway Avatar answered Oct 25 '22 21:10

AsksAnyway