UncrustifyX icon indicating copy to clipboard operation
UncrustifyX copied to clipboard

Could not find option with align_oc_msg_colon code

Open JanX2 opened this issue 12 years ago • 4 comments

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

JanX2 avatar Nov 08 '13 19:11 JanX2

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.

ryanmaxwell avatar Nov 08 '13 21:11 ryanmaxwell

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 avatar Nov 09 '13 07:11 JanX2

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

JanX2 avatar Nov 09 '13 07:11 JanX2

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.

jonah-williams avatar Nov 12 '13 17:11 jonah-williams