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. 回答1: 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 回答2: In PyCharm 2017.1 File -> Settings -> Editor -> General -> Smart Keys -> "Insert 'self' when defining a method" 回答3: Go to File > Settings (or Ctrl + Alt + S ) > [IDE Settings] > Editor > Code Completion . The