Removing astrix (*) for block comments in CLion 2021.1.1

已回答

I don't like how the block comment /* */ formatter automatically adds prefixed astrix on every new line. I see no option in the settings pane to remove this feature. This is not a standard thing in other editors and it gets in the way of editing workflow when you need to remove a line because you accidently hit enter too much.

 

How can I remove this feature? Apparently on earlier versions of CLion this did not even exist. I would assume the developers would allow you to toggle it on or off.

PS -  Another formatter question (maybe for another post) is: Can I auto-format my src file so that the method definitions appear in the same order of the header (in-class or out of class)? 

0

Hello!

>I don't like how the block comment /* */ formatter automatically adds prefixed astrix on every new line

Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-24569. 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.

Please note that if you remove the asterisk in the first line by backspace, asterisks will stop generating on new lines.

>Can I auto-format my src file so that the method definitions appear in the same order of the header (in-class or out of class)? 

0

请先登录再写评论。