Align multiline string.

Completed

Hi, 

I'm trying to find how to configure multiline string alignement, but miserably failing...

This is what I get when hitting `enter` inside the double quotes:

int main(int argc, char*argv[])noexcept{
const char*multiline1="foo\n"
"bar\n"
"baz";
const char*multiline2=
"foo\n"
"bar\n"
"baz";
printf("%s,%s",multiline1,multiline2);
return 0;
}

But here's what I would like to get:

int main(int argc, char*argv[])noexcept{
const char*multiline1="foo\n"
"bar\n"
"baz";
const char*multiline2=
"foo\n"
"bar\n"
"baz";
printf("%s,%s",multiline1,multiline2);
return 0;
}

Any idea how I can achieve that?
Thank you very much!

1
5 comments

Hello!

We were not able to reproduce the issue on our side. Please send a simple sample project with which the issue can be reproduced to clion-support at jetbrains.com.

0

Hi, I tried to send the mail, but that address is failing because of the attached zip...
Here you can find the sample project: https://pass.tiarkaerell.com/#/send/M-gjN4EIRUqYe60JAN9xYQ/q-en6Oet8PdaeH2taX-9pw

0

I can't download it for some reason. Please upload the project to https://uploads.services.jetbrains.com/ and send the Upload ID to clion-support at jetbrains.com together with the link to this thread. Thanks!

0

Done, sorry for the trouble.

0

Please sign in to leave a comment.