How do I turn off AI code completion?

I am writing an app using a UI framework.

The new version of PyCharm hallucinates callback function names based on button names instead of offering to complete names based on the names of functions already defined in the same module file. E.g. when I define a “New Document” button, PyCharm will ignore `new_button()` and suggest `create_new_button()`. Also, the IDE keeps inserting incorrect import statements, which I have to keep removing.

This wastes my time and adds to debugging time. I never asked for this crap. How do I turn it off and go back to pre-AI behaviour? 

1
2 comments

Hello, Jacek ,

Please, try turning off the following options and see if that helps you reach your goal:

  • Enable cloud completion suggestions setting  under  Settings | Editor | General | Inline Completion
  • Enable local Full Line completion suggestions setting under Settings | Editor | General | Inline Completion
  • Enable next edit suggestions setting under Settings | Tools | AI Assistant.
0

Should be disabled by default.
It almost never gives any useful hints and disrupts the thought process.

0

Please sign in to leave a comment.