Technical Q&A QA1670

Keeping macro definitions out of the Xcode editor window's function pop-up

Q:  How can I keep Xcode from listing macro definitions in the editor window's function pop-up?

A: Although the Xcode preferences panel does not have an interface for this configuration, you can set it by accessing the user defaults for Xcode from the command line, as shown in Listing 1.

Listing 1  Setting Xcode's user default value for macro definitions in the editor pop-up.

defaults write com.apple.Xcode PBXMethodPopupIncludeDefinesDefault NO

The change will take effect the next time you launch Xcode.



Document Revision History


DateNotes
2009-10-27

New document that describes how to configure Xcode so that it does not display macro definitions in the editor window's function pop-up.