title: Can Uncrustify align colons in Objective-C method calls?
body: <p>I am using <a href="http://uncrustify.sourceforge.net/" rel="nofollow noreferrer">uncrustify</a> 0.52.  When I run it against Objective-C files, it wants to convert method invocations like this:</p>
  
  <pre><code>[NSApp beginSheet:startTimerDialog
     modalForWindow:nil
      modalDelegate:nil
     didEndSelector:nil
        contextInfo:nil];
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>[NSApp beginSheet:startTimerDialog
   modalForWindow:nil
   modalDelegate:nil
   didEndSelector:nil
   contextInfo:nil];
  </code></pre>
  
  <p>I prefer the first version, with the colons aligned.  Is there an option in the uncrustify config file that can support what I want, or does uncrustify just not support aligned colons?</p>
  
  <p>If uncrustify can't align the colons, is there a way to prevent it from de-aligning the colons that I've aligned myself?</p>
  
  <p><strong>Update:</strong></p>
  
  <p><a href="https://stackoverflow.com/users/85344/mmc">mmc</a> notes that this feature was available in the Uncrustify svn repository as of build 1581.  It is in uncrustify 0.54.  Set <code>align_oc_msg_colon = true</code> in your config file to enable it.</p>
  
  <p><strong>Further Update</strong></p>
  
  <p>For people who find this answer in the future:
  The name of the preference in the .cfg file has been changed. It is now <code>align_oc_msg_colon_span= 1</code> to get the behavior described above. There is also now a <code>align_oc_decl_colon = true</code> that will do the name thing for multi-line declarations. </p>