I need a tool for Xcode that do an autoformat to my c++ code, I checked this answer link1, I checked this link2 and I checked "TextMate" also.
but I do not know is that possible to create a custom code format like
1- one space before and after both "=" and "=="
2- if condition format should be like the following format
if (condition || condition) {
}
the "{" should be in the same line of "if", one space between each condition, and the final "}" should be in new line.
I prefer to use some addon tool in the xcode not external one.