Swift autocompletion not even working

I am trying to work on my game, and I am using the Xcode 7 GM seed, but unfortunately I am having some problems. First of all autocompletion doesen't work or is either way too slow, so currently I am typing everything out by hand. Also, it is taking a really long time to build my app, and the app isn't even big yet, only has three or four source files. Does anyone have any workarounds for the problems I am experiencing?

If building your project takes much time in Compiling Swift source files, it may very likely taking much time also for indexing, and until indexing being completed, code suggestion or completion does not work.


One workaround is picking up time consuming parts of your code and move them to other files where you need very few times of touches to them while developing.

As `time consuming parts` I think of now are:

- Complex expression like: a1 * b1 + a2 * b2 + a3 * b3

- Long array literals or dictionary literals

(In some conditions, Swift needs incredible time for processing just a few tens of elements.)


I may be misinterpreting some behaviors of Swift, but hoping any parts of this article can be some help of you.

Swift autocompletion not even working
 
 
Q