commandbox-cfformat icon indicating copy to clipboard operation
commandbox-cfformat copied to clipboard

Property alignment incorrect when the number of attributes differs

Open renkejr-pkwy opened this issue 3 years ago • 0 comments

The property alignment is incorrect when the number of attributes differs between properties.

    property name="registrationId" type="numeric";
    property name="lastName"       type="string";
    property name="firstName"      type="string";
    property name="email"          type="string";
    property name="locationId" type="numeric" setter="false";
    property name="notes" type="string";

Expected output:

    property name="registrationId" type="numeric";
    property name="lastName"       type="string";
    property name="firstName"      type="string";
    property name="email"          type="string";
    property name="locationId"     type="numeric" setter="false";
    property name="notes"          type="string";

cfformat version 0.17.3

renkejr-pkwy avatar Mar 16 '22 14:03 renkejr-pkwy