ryanmaxwell / UncrustifyX

Uncrustify utility and documentation browser for Mac OS X
Other
586 stars 44 forks source link

Could not find option with align_oc_msg_colon code #10

Open JanX2 opened 11 years ago

JanX2 commented 11 years ago

Importing uncrustify_obj_c.cfg from https://gist.github.com/jonah-carbonfive/841452 fails with the following error message:

An error occurred during import Could not find option with align_oc_msg_colon code

ryanmaxwell commented 11 years ago

I've just built the latest uncrustify binary from https://github.com/bengardner/uncrustify and ran uncrustify --show-config - I have been treating this as the source of truth for all the available commands. Is this a new option, or was it just never documented? It doesn't seem to be listed here.

JanX2 commented 11 years ago

It may have been an option in development at some point. I will inquire what happened here.

In any case, just refusing to open the file may not be the best option. What about keeping unknown key-value pairs around and saving them back out later on?

JanX2 commented 11 years ago

I have sent an email to the author of that config file, asking which version of uncrustify he is using.

jonah-williams commented 11 years ago

Hi folks. Looks like I was using https://github.com/bengardner/uncrustify/tree/uncrustify-0.58 as distributed by some release of http://universalindent.sourceforge.net/index.php when I wrote that gist.