Important: The information in this document is obsolete and should not be used for new development.
The previous section describes the default interface for code completion. However, Xcode provides a number of options for customizing code completion behavior. Code completion settings apply to all projects that you open.
You can control how much or how little information Xcode gives you as you type. To control how code completion suggestions are made, use the following options:
Select “Indicate when completions are available” to have Xcode indicate when it has suggestions for matching symbols by underling the text you have typed. This option is enabled by default. If you turn it off, completions are still available to you, but Xcode does not underline the text. You can open the completion list to see suggestions, or cycle through the available completions, as described in the previous section.
Select “Automatically suggest on member call / access” to have Xcode automatically display the completion list when in the context of a function or method call, or when accessing the members of a data structure. If you choose this option, you can also specify the amount of the delay, after you stop typing, before Xcode displays the completion list. Specify the amount of time, in seconds, of this delay in the “Suggestion delay” field. By default, this delay is half a second.
Xcode also lets you control how functions and methods are completed. To have Xcode insert the name, as well as placeholders for the arguments to the function or method, select “Insert argument placeholders for completions.”Otherwise, Xcode only inserts the name of the function or method. This option is on by default.
To choose how functions and methods are displayed in the completion list, use the “Show arguments in pop-up list” option. Select this option to have Xcode display functions and methods with their list of arguments in the completion list. Otherwise, Xcode only displays the function or method name. This option is on by default.
Last updated: 2006-11-07