ryanmaxwell / UncrustifyX

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

Can't Read '.cfg' and Documentation MIA #16

Closed cerniuk closed 8 years ago

cerniuk commented 9 years ago

Had this working in the spring as was thrilled it existed. Used some code generators and batch-fixed their output, best thing since sliced bread (almost).

Reloaded now and there is no functionality. (?!?) Download has no dictionary and no default config. Worse yet, located my old default config ".cfg" and it just spews errors in UncrustifyX.

uncrustifyx

And the documentation is empty: documentation

But what is especially perplexing is the litany of errors from trying to read in one of it's previous ".cfg" files or any other found on the web: errors_in_reading_cfg_file

Here are the example '.cfg' files that used to work ... https://cerniuk.org/wiki/find?keyword=uncrustify

So I gave the compile a try. The external dependences were the death of this attempt. The tool from Rentzsch gave me pause but ... ok. Loaded that and got past one build error. Would be nice to not have to depend on an external tool...

mogenerator Wolf Rentzsch https://github.com/rentzsch/mogenerator

Then got to th Fragaria tool...
Fragaria Jonathan Mitchell https://github.com/mugginsoft/Fragaria

Turns out it is not ARC and not smoothly converted. I tried a simple convert but after getting a litany of errors, it occurred to me that this tool may want other tools to be built... and so on and so on...

Long story short, without UncrustifyX, BBUncrustifyPlugin-Xcode by Benoît Bourdon becomes less attractive as figuring out exactly what the uncrustify settings do at the conf field level is a long tedious process of trial and error. Great companion tool, I miss UncrustifyX!

ryanmaxwell commented 9 years ago

@cerniuk Sorry that it's not working for you. The code hasn't had an update for quite some time - And yes, Fragaria was extremely useful but it's non-arc (I think it's even GC - now fully deprecated) so it's likely time to find a replacement/update.

As for your empty windows - try trashing the app data (~/Library/Application Support/UncrustifyX) and re-opening the app.

cerniuk commented 8 years ago

Trashing the app data didn't work. Spent over 4 hours hand working the uncrustify settings manually to get them to work with bbuncrustify plugin. Now I really miss your app! Thanks for prior and thanks for trying.