0
是否有一個設置告訴VS在整個過程中使用相同的縮進規則?當我聲明一個類,它縮進預期Visual Studio C++參數縮進
class AAAAAA
{
public:
AAAAAA(
int this_is_ok)
{
}
};
class BBBBB
{
public:
BBBBB(
int this_is_also_ok);
};
當我定義函數的類,這些參數的縮進規則改變
BBBBB::BBBBB(
int why_does_this_not_follow_the_same_rules
)
{
}
void funky(
int why_does_this_not_follow_the_same_rules
)
{
}
我想保持相同的3空間因爲某些類/函數名稱非常長,並且在類或函數名稱更改長度時使格式化難以維護。
這兩種縮進風格都很可怕。如果您也在2013年放棄了''''' –