ryanmaxwell / uncrustifyx Goto Github PK
View Code? Open in Web Editor NEWUncrustify utility and documentation browser for Mac OS X
License: Other
Uncrustify utility and documentation browser for Mac OS X
License: Other
When I disable languages in the Documentation Browser and later reenable them, they are not always added to the available entries. In my example, C++ was added back in but C wasn’t.
The official uncrustify default config file fails to import:
An error occurred during import
The value 'ignore' is not valid for the number value type required for the sp_before_template_paren option
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.
And the documentation is empty:
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:
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!
Hello Ryan,
First of all I want to tell you UncrustifyX is a great tool ! I use it config Uncrustify for formatting Objective-C sources.
I have some suggestions for improvement (possibly because I don't fully understand the usage of UncrustifyX yet):
Thank you for any advice
Frank
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:ryanmaxwell/Fragaria.git' into submodule path 'UncrustifyX/Frameworks/Fragaria' failed
Like the basic premise of this app, but it doesn't support uncrustify .6 options.
After deleting nz.co.xwell.UncrustifyX.plist
UncrustifyX will crash on launch.
@ryanmaxwell: would be useful to create a new release for the update to Uncrustify 0.61, merged in #18
Hi,
I just published the version 1.0.4 of the plugin. It fixes several issues but the most important concerns Xcode 5 that was not running the plugin. (https://github.com/benoitsan/BBUncrustifyPlugin-Xcode/releases/tag/1.0.4).
I downloaded the app is not signed and will not run without turning off the check from the OS. Is there a way to sign the app?
When I do git submodule init and update, I get:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:ryanmaxwell/Fragaria.git' into submodule path 'UncrustifyX/Frameworks/Fragaria' failed
I've submitted a PR that makes the README say the project is currently broken - might save other people some time.
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
After looking through the code, it seems like you're running Uncrustify on files each time, meaning adding live preview of changes would require a few architecture changes.
Is this something you have considered? (As a contributor to other projects, I know, "Pull requests welcome!" is the standard answer for things like this.) Is this a thing you've planned for? Was it in your mental roadmap? Or is it not at all in your personal use case?
I've found UncrustifyX a very useful tool and I'd like to contribute to its development. However, doing a basic recursive git clone to get the submodules checked out there seem to be a lot of errors that are preventing the app from building, a lot of them related to ARC. Would it be possible for the authors of the application to release a new build against updated libraries?
Just to let you know that I tagged a new version of the plugin: 1.0.3 (benoitsan/BBUncrustifyPlugin-Xcode@43f9240)
Add support for a default set of 'types' to include in the config file, to enhance uncrustify's awareness of common types present for each language. e.g add Foundation and UIKit/AppKit types for Obj-C.
https://github.com/bengardner/uncrustify/issues/172#issuecomment-20261558
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.