@BlueHazzard: I doubt this is the problem.
@luoyujian:
What happens if you disable the CodeCompletion plugin?
If there are many many top level functions in the file, I think I know what the problem is.
I guess I've misread the topic, I thought that you have a big project file.