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!
Please sign in to leave a comment.
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.
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
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!
Done, sorry for the trouble.
Thanks! Created https://youtrack.jetbrains.com/issue/CPP-24828