Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Using an External Editor

Xcode lets you choose the editors used for the files in your project. You can use Xcode’s built-in editor or use an external editor such as BBEdit. Generally, Xcode uses the filename extension to choose how to edit a file. For example, it edits an .rtf file with its own built-in RTF editor and a .c file with its own built-in source code editor.

You can temporarily change how a file is viewed, or permanently change how files of a certain type are viewed. To change how a file is viewed, you can do any of the following:

Note:  HTML files are handled differently. If Xcode determines that an HTML file is documentation, Xcode assumes you want to view the file and displays the file with its built-in HTML viewer. Otherwise, Xcode assumes you want to edit the file and uses its built-in source code editor.

Contents:

Overriding How a File is Displayed
Changing the Preferred Editor for a File Type
Opening Files With an External Editor
Opening Files With Your Preferred Application




< Previous PageNext Page > Hide TOC


Last updated: 2006-11-07




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice