Intellij “File size exceeds configured limit (2560000), code insight features not available”

(in Mac)

vi /Applications/<user-intellij-app>/Contents/bin/idea.properties

change property

idea.max.intellisense.filesize=2500

to

idea.max.intellisense.filesize=25000