Blog: Easy XML autocompletion in Propel schemas

The Propel Team – 20 May 2010

Propel offers a rich XML schema to describe and validate the schema.xml syntax. In IDEs offering autocompletion (like NetBeans or Eclipse), this can be a great time saver, because the IDE can suggest the possible elements and attributes at the right time, and validate the syntax progressively.

To enable XML autocompletion, you must add two attributes to the <database> tag of your schema:

<database name="my_connection_name" defaultIdMethod="native"
xsi:noNamespaceSchemaLocation="" >

This works for all versions of Propel down to 1.3.

Propel is definitely the most IDE-friendly ORM out there, and its helps you to write good quality code at lightspeed.