i working on project ports msvc library linux. using qt creator ide. after checking out files noticed looking horrible under linux. indentations messed space / tab characters mixed.
i managed configure built-in coding style beautifier of qt creator auto-indent code. cannot seem achieve doc++ comments aligned function describe. newlines , spaces in comments apparently treated code indents, comments this:
/** @brief myclass conversion 32 bit integer. * * @param myparam1[in] 32-bit value. loword element, hiword group. * @param myparam2 [in] , on... */
i have tried astyle well, not seem touch comments @ all. maybe missing something, documentation quite sparse. astyle command using is:
astyle --style=allman --indent-namespaces --indent-cases --align-pointer=type --break-closing-brackets --convert-tabs ./myclass.h
i appreciate suggestion. after having spent time on trying 2 different tools, not want try third 1 unless sure can trick, recommendations towards other tool available on linux me well.
thank in advance
Comments
Post a Comment