Xcode 8.2 Code Completion Not Working

后端 未结 9 759
情书的邮戳
情书的邮戳 2020-12-08 05:57

For some reason, in Xcode 8.2 my code completion has stopped working. I have cleaned my product, restarted Xcode, restarted my computer, and deleted the derived data, and st

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-08 06:46

    Update: As per @Dareon solution below also works for Xcode Version 8.3 (8E162) and 8.3.2 (8E2002). Thanks, @Dareon for the confirmation. :)

    I was facing the same issue and following worked for me.

    I am using Xcode Version 8.2.1 (8C1002).

    1. Go to Xcode > Preferences > Text Editing
    2. Under Code completion - Uncheck 'Suggest completions while typing'
    3. Quit out of Xcode and then relaunch Xcode.
    4. Go to Xcode > Preferences > Text Editing again
    5. Quit out of Xcode and then relaunch Xcode.
    6. Now go to Code completion and check 'Suggest completions while typing'.
    7. Try typing library function or enum and enjoy!

    At least, it worked for me.

提交回复
热议问题