Need help with Line Wrap formatting settings.
已回答
Hello all,
I have finally given up trying to fix this myself. In the C/C++ format settings, there is a line below (see arrow) that is truncating my formatting. I have literally flipped every checkbox, changed every parameter that I can find (at least I think I did) - and that line will not move or go away. It's preventing me from using the formatting of this tool because it truncates everything.
Does anyone have any advice on how to move that line? It has to be something simple - but I cannot seem to find it.
Where is that line coming from anyways.. I've looked just about everywhere, cannot find a setting related to it.

Much appreciated.
请先登录再写评论。
Hello!
It should be controlled by the “Hard wrap at” setting (https://www.jetbrains.com/help/clion/code-style-c-c.html#rightMargin ).
The problem is that this is not working. The general Hard Wrap limit as well as the C++ hard wrap limit are (out-of-the-box) set to 120, but in my CMake project, the line appears at 80. Furthermore, in Code Style→CMake I can't find a Hard Wrap setting.
The “Visual guides” setting works as intended, however.
I’m experiencing the same issue. :(
To make the line actually appear at 120 characters, it needs to be set to around 152.
When I set it to 120, it only fits about 80 characters.
Doroshko Fla,
Please provide a screenshot illustrating how many characters are till the “Hard Wrap” line in the editor.
Anna Falevskaya Thanks for asking.
While trying to take a screenshot for you, I realized it was just the Inlay Hints in JavaScript that confused me — my bad. Is there any idea to make Inlay Hints adapt to the hard wrap line somehow?
Doroshko Fla , thank you for the provided details!
I found related issues in the IntelliJ Platform tracker: IJPL-31182 and IJPL-29559. Feel free to comment or upvote them in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.