-
Notifications
You must be signed in to change notification settings - Fork 7
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
Replace astyle #69
Comments
@neithernut you're welcome to review my (kind of) suggestions and replace astyle with it after we chose one. |
A blank line at EOF is good. It keeps Git happy. Although, I don't know the extent, so if it adds multiple (or one everytime it is run) then it has to go. |
Piping through astyle yields one additional newline per run. |
That sucks, indeed! |
I guess KWStyle sounds good, but well, I don't know the details (of either of the listed suggestions). So @neithernut should evaluate and tell us what is the best idea for the project (and eventually for other projects as well...) |
I'm on it |
gnu indent and uncrustify are availible in package repos and somewhat similar to astyle, so the config file may be more easily ported from the astylerc. They, too, do not support style checking. However, we already have a workaround. KWStyle looks good. Also, it's XML all over the place. Vera++ and nsiqcppstyle are out since they seem to be cpp only. for |
uncrustify looks like a C++ thing to me, too. Maybe we (you?) should try |
I'm on the train in a few minutes, so I probably can't do it until tomorow. |
I don't care about this one as much as about others. it is in the 'v0.0.1' milestone, which is due end of the month. I consider this is secondary and not as important as the actual code. I would love to see more code instead of this. |
@TheNeikos @manuelmessner: evaluating the alternatives mentioned in this discussion ( |
Astyle behaves/is very bad:
It should be replaced.
Alternatives I know (by name) are:
cb
which is an ancient beautifier (code beautifier
) but may match our needsWe should discuss the alternatives here.
The text was updated successfully, but these errors were encountered: