-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncrustify for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA language support #57
Comments
Uncrustify config for iOS: https://github.com/dijkst/uncrustify-config-ios |
Very quick install for Mac: |
Languages:
Features:
Roadmap:
|
|
Uncrustify Configuration Documentation
|
@m1ga: I am debating if I want to allow users to specify the path to a It could look like: {
"java": {
"indent_with_tabs": 0,
"indent_class": true,
"output_tab_size": 4
}
} And then I'll generate the |
I personally think that it would be easier for the user if you can edit your json syntax config and it will generate the config file for the user. So the user doens't even know that he/she is using uncrustify. And if he already has a configuration you could just replace the generated file. Also you could auto-indend the json file with atom already :) So its quickly to read and edit! |
I absolutely agree. It makes the most sense, and the user really should not have to know that they are using uncrustify. Atom Beautify should try to abstract that and make it even easier. I'm on a train ride for the next half hour, so I may have time to get this all working before I'm on my plane. Wish me luck! :) |
👍 sounds awesome! good luck 😃 |
Uncrustify Language support: - C - C++ - C# - Objective-C - Java - D - Pawn - Vala Closes #45. Add Java Support. Currently, use the configPath option to set an absolute or relative path (relative to the currently beautified file) to specific the .cfg file for Uncrustify to use as configuration options.
v0.6.0 has been published! |
@m1ga currently you can use v0.6.0 and set the |
@m1ga Published to v0.6.1 👍. You can now edit the |
On every It currently does not fallback to everything in the default Uncrustify |
Also turns out the |
can I view/log the created .cfg it will create somewhere? "java": { but its not changing anything if I change those values |
I wonder if using http://sourceforge.net/projects/astyle/ would be better than uncrustify. https://github.com/timonwong/SublimeAStyleFormatter uses it (through pyastyle) and it is working great for me. |
sublime uses astyle, and i think astyle also accepts multiple cfg |
Can I use Astyle instead of Unscriustify actually ? |
Closes existing issue #45 (Java).
The text was updated successfully, but these errors were encountered: