How to disable code completion suggestion in Xcode

Xcode is one of the powerful IDE for IOS development and by default it supports code completion suggestion. Code completion feature suggests users with possible code substitution when you start typing first few letters of code in Xcode editor.

201202040829.jpg

For example, if you have UILabel reference variable and start typing “t” after the dot then the above code completion popup will be displayed. Now you can quickly pick up your desired attribute from the list.

In case if you do not prefer the code suggestion and find it more annoying then you can disable this option using the Xcode Preferences.

Click the Xcode menu and select Preferences from the menu list.

201202040832.jpg

In the Preferences window, navigate to Text Editing Preferences then Code Completion under the Editing section.

201202040834.jpg

Unmark the check box with caption as “Suggest completion while typing“. This should turn off the code completion feature in Xcode.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.