XCode editor slow on large swift files

Anyone else seeing this?


I'm writing automated tests and some swift files have couple of thousand lines of code.

At which point XCode gets extremly slow while edining the code. It freezes every few seconds for couple of seconds.

Like intelisense tries to do something but since the size of the file is 5000+ lines of code it needs a few seconds to parse the file and release the editor back to the user 😟


David

Yes, I deal with it with keystroke. It is a royal, I mean, iRoyale Pain!

So far, my workaround is to edit files in an external text editor, EMACS.


Interesting nobody has addressed this issue for so long.

Is there a way to just turn off intelisense in Xcode 7.2.1?


Googling does not help find the correct solution.

Still happening in xcode 8 betas, too. 😟

Still in Xcode 13.0 :( .... any workaround?. Apple can't create a good IDE for its own projects!!. I have a swift file with 4000 lines of code and it is so slow when typing in that file !!!

Same!! Many files with +1000 lines and it takes around 20 seconds to be able to edit the file each time! This is unnaceptable.

XCode editor slow on large swift files
 
 
Q