Table of Contents
index

# Managing installed structure definitions

Structure definitions were introduced by Xcode 3.0 and are implemented as Xcode plugin files with a .xcodeplugin file extension. Xcode (and Property List Editor) looks in several places for installed structure definitions:

- In /Developer/Library/Xcode/Plug-ins
- In /Developer/Platforms, you will find multiple subfolders ending in ".platform". These represent different development platforms, such as Mac OS X, iPhone OS, and so forth. Within each platform subfolder, Xcode will look in Developer/Library/Xcode/Plug-ins for additional structure definitions.
- In ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins. The "Reveal definition folder" will reveal this folder to you in the Finder.

In addition to all these directories, PlistEdit Pro also ships with several of its own built-in structure definitions which are located inside its own application bundle. These structure definitions will only show up in PlistEdit Pro, and not Xcode or Property List Editor.

You can see what structure definitions you have installed by going to the Definitions tab in the preferences window of PlistEdit Pro

All installed structure definitions will be displayed in the Definitions table on the left. Note that a single plugin file can contain multiple definitions, such Xcode's built-in definitions for Applescript .scriptSuite and .scriptTerminology files, which are both stored in the same plugin file. On the right you will see the following information for the selected structure definition:

- Use for files with extensions. If you want PlistEdit Pro to automatically use a particular structure definition for files ending with a specific file extension, you can type the extensions you would like to use the selected definition into this field. For example, by default all files ending with the ".scriptSuite" extension will be opened using the AppleScript Suite definition. You do not need to include the "." character, and you can type a comma to end one extension and start typing a new one.
- Use file files with filenames. Similarly, you can type entire filenames into this field to have files with that name use the selected structure definition by default. For example, files named "Info.plist" are automatically opened using the Info.plist definition (but other files that simply end in ".plist" are opened without a definition)
- Type. This can be one of three values, depending on where the structure definition is installed:

- User. Indicates that this definition is installed in the Xcode plugin folder located inside your home folder
- PlistEdit Pro Builtin. Indicates that this definition is located inside the PlistEdit Pro application bundle. You will typically not want to edit these files directly, since any changes you make will be lost if you update PlistEdit Pro to a new version. Note that these definitions will not show up for use in Xcode or Property List Editor. If you'd like to use a PlistEdit Pro definition in either program, you can make a separate copy of the definition file in your home folder that Xcode/Property List Editor will detect and use.
- Xcode Builtin. Indicates that this is one of Xcode's built-in structure definitions. It is not recommended that you edit these files directly, since all your edits will be lost the next time you install an update to Xcode. When editing one of these definitions, you will be given the option to make a separate copy of the file in your home folder that you can edit instead.

Note that if more than one copy of a particular structure definiton is present (based on the "identifier" field of the definition), PlistEdit Pro will only list one copy of the structure definition. Definitions installed in the user's home folder take precedence over PlistEdit Pro built-in definitions, which in turn take precedence over Xcode built-in definitions.

<< Variant dictionaries

Preferences >>