CLion block comment behaviour
Answered
In IntelliJ IDEA Ultimate, I am used to having block comment (ctrl+shift+/) act like this:
/*
val code = "to be commented"
*/
But when I try to use the block comment on CLion, this will be the resulting block comment:
/* val code = "to be commented"
*/
So in essence the first comment marker does not jump above the line that needs to be commented. Is there a way to make CLion's block comment act the same way as in IntelliJ IDEA Ultimate?
Please sign in to leave a comment.
Hello!
How do you select the code? What shortcut do you use to comment the selected code? Please provide screenshots or a screencast.
Hey,
I use vim plugin's shift + v to select the lines, then apply the comments through "Comment with Block Comment" IDE keybinding.
Sorry for the delay in response.
The Rust team created a related issue in their tracker - https://github.com/intellij-rust/intellij-rust/issues/7838, please follow it.