如何在两行或更多行中对齐函数定义

时间:2018-11-05 02:11:10

标签: visual-studio visual-studio-2017

我有以下代码已被VS2017自动对齐。

void fun(int a, int nicue_second, int nice_third, int to_see,
    int the_second);

我想要的是以下内容。

void fun(int a, int nicue_second, int nice_third, int to_see,
         int the_second);

您看到两个代码块之间的区别了吗?第一个对齐为新行。第二个在左括号下方对齐。 我希望有一个配置可以支持第二种样式。不幸的是,我没有找到设置。因此,我正在寻求您的帮助。

0 个答案:

没有答案
相关问题