What i did was : https://youtrack.jetbrains.com/issue/IDEA-64781/Allow-auto-completion-for-plain-text-files-to-be-disabled
Settings/Preferences -> General -> Editor -> Code Completion
disable all plugin which allow to auto complete but make sure to turn it on when required