Extreme latency while typing and autocomplete

When i type i kinda buffers the keystrokes and then prints it out at once.

Outside my .cpp file (Arduino Project) it’s fine.

The file has only 488 Lines so far.
The project has only 4 libraries.
Currently it’s so slow i write everything in a text editor.

I already did rebuild the C/C++ project index.