clion code style and formatting problem with string 关注
已完成
I like the clion, but one thing keeps troubling me is when I format the file, it will always format PRIu32 (and other similar ones) into a new line, for example, I would like the line to be
printf("I would like to print an uint32_t such as %" PRIu32 ", this is the end of string.");
but what I get is
printf("I would like to print an uint32_t such as %"
PRIu32
", this is the end of string.");
how can I change this? Thank you!
请先登录再写评论。
Hello!
What CLion version do you use?
Do you use CLion's builtin formatter or ClangFormat?
Hi Anna,
I am using the latest version of CLion (2020.2) and I am using the builtin formatter.
Please send to clion-support at jetbrains.com the following materials:
1) A screenshot of the bottom right of CLion's window
2) The idea.log file (Help | Show Log in ...). Note that logs might contain private user's information (like file paths and names).
3) Your code style settings