clang-format
構造体メンバーと関数パラメーター名を列にフォーマットするために使用することは可能ですか?
例えば:
struct
{
int alpha; //aligned to 'b' of "beta"
unsigned int beta;
MyObject *gamma; //aligned with 'g' not '*'
};
void foobar (int alpha, //aligned to 'b' of "beta"
unsigned int beta
MyObject *gamma) //aligned with 'g' not '*'
{
}
それが不可能な場合、clang-format を拡張してこれを達成できますか?