Currently, the Reorganize action will only sort objects by their object type. It would be very useful if it was possible to specify the path used for sorting in the same way we can specify the name used for renaming extension objects.
In essence, the default path - assuming it is the same as it is now - would be <ObjectType>/<Filename>, but you could change it to something like <Prefix>/<ObjectTypeShortPascalCase>/<Filename>.
It would be especially useful if it could read metadata such as a comment before the object definition (maybe a doc comment like /// <section>Sales</section>), which would allow for specifying subfolders in the object without affecting the code.
This feature would make reorganizing with custom source structure possible, and automate the management required.
Currently, the Reorganize action will only sort objects by their object type. It would be very useful if it was possible to specify the path used for sorting in the same way we can specify the name used for renaming extension objects.
In essence, the default path - assuming it is the same as it is now - would be
<ObjectType>/<Filename>
, but you could change it to something like<Prefix>/<ObjectTypeShortPascalCase>/<Filename>
. It would be especially useful if it could read metadata such as a comment before the object definition (maybe a doc comment like/// <section>Sales</section>
), which would allow for specifying subfolders in the object without affecting the code.This feature would make reorganizing with custom source structure possible, and automate the management required.