uncrustify: how to get trailing comment spaced using tabs and spaces
up vote
0
down vote
favorite
I have the directive align_with_tabs=true but trailing comments are being aligned using spaces only. I have align_right_cmt_at_col = 50 and the trailing comment does start here.
example:
a = 2; // comment (with spaces between ; and /)
I want:
a = 2;<tab><tab><tab><space><space>// comment (appropriate number of <tab> and spaces to get to col 50)
what directive will make this happen?
thanks
oldunixguy
uncrustify
add a comment |
up vote
0
down vote
favorite
I have the directive align_with_tabs=true but trailing comments are being aligned using spaces only. I have align_right_cmt_at_col = 50 and the trailing comment does start here.
example:
a = 2; // comment (with spaces between ; and /)
I want:
a = 2;<tab><tab><tab><space><space>// comment (appropriate number of <tab> and spaces to get to col 50)
what directive will make this happen?
thanks
oldunixguy
uncrustify
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have the directive align_with_tabs=true but trailing comments are being aligned using spaces only. I have align_right_cmt_at_col = 50 and the trailing comment does start here.
example:
a = 2; // comment (with spaces between ; and /)
I want:
a = 2;<tab><tab><tab><space><space>// comment (appropriate number of <tab> and spaces to get to col 50)
what directive will make this happen?
thanks
oldunixguy
uncrustify
I have the directive align_with_tabs=true but trailing comments are being aligned using spaces only. I have align_right_cmt_at_col = 50 and the trailing comment does start here.
example:
a = 2; // comment (with spaces between ; and /)
I want:
a = 2;<tab><tab><tab><space><space>// comment (appropriate number of <tab> and spaces to get to col 50)
what directive will make this happen?
thanks
oldunixguy
uncrustify
uncrustify
asked Nov 10 at 19:22
oldunixguy
11
11
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242595%2funcrustify-how-to-get-trailing-comment-spaced-using-tabs-and-spaces%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown