how to align function definition in two or more lines
up vote
0
down vote
favorite
I have the following code which has been automatically aligned by VS2017.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
what I want is the following.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
Do you see the difference between the two code block? the first one is aligned as a new line. the second aligned below the left parathesis.
I hope there is a configuration that vs support the second style. Unfortunately, I did not find the settings. So I am asking for your help.
visual-studio visual-studio-2017
add a comment |
up vote
0
down vote
favorite
I have the following code which has been automatically aligned by VS2017.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
what I want is the following.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
Do you see the difference between the two code block? the first one is aligned as a new line. the second aligned below the left parathesis.
I hope there is a configuration that vs support the second style. Unfortunately, I did not find the settings. So I am asking for your help.
visual-studio visual-studio-2017
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have the following code which has been automatically aligned by VS2017.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
what I want is the following.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
Do you see the difference between the two code block? the first one is aligned as a new line. the second aligned below the left parathesis.
I hope there is a configuration that vs support the second style. Unfortunately, I did not find the settings. So I am asking for your help.
visual-studio visual-studio-2017
I have the following code which has been automatically aligned by VS2017.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
what I want is the following.
void fun(int a, int nicue_second, int nice_third, int to_see,
int the_second);
Do you see the difference between the two code block? the first one is aligned as a new line. the second aligned below the left parathesis.
I hope there is a configuration that vs support the second style. Unfortunately, I did not find the settings. So I am asking for your help.
visual-studio visual-studio-2017
visual-studio visual-studio-2017
asked Nov 5 at 2:11
aban
1358
1358
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147442%2fhow-to-align-function-definition-in-two-or-more-lines%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password