I should have mentioned before that you can create a properties file in the _build/data/properties/ directory. If it's named correctly, the properties will be imported when you run ImportObjects.
For a snippet called mysnippet, for example, the filename would be:
properties.mysnippet.snippet.php
Here's the form of the properties file:
$properties = array (
'package' => array (
'name' => 'package',
'desc' => 'ce.package_desc',
'type' => 'textfield',
'options' => array (),
'value' => '',
'lexicon' => 'classextender:properties',
'area' => '',
),
'class' => array (
'name' => 'class',
'desc' => 'ce.class_desc',
'type' => 'textfield',
'options' => array (),
'value' => '',
'lexicon' => 'classextender:properties',
'area' => '',
),
'parentObject' => array (
'name' => 'parentObject',
'desc' => 'ce.parent_object_desc',
'type' => 'textfield',
'options' => array (),
'value' => '',
'lexicon' => 'classextender:properties',
'area' => '',
),
}
FWIW, I think it's much easier to create the properties in MODX and export them, especially if you have complex options. The properties file will still be a reference for them. You can put it under version control and also edit it and import.