how to comment and uncomment a empty line #1821
-
Contributing guidelines
Module(s)mini.comment Questioni want to comment and uncomment a empty line ,but how to config ? |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
May 24, 2025
Replies: 1 comment
-
Unfortunately, there is no way other than manually inserting a comment leader. The reason for this is that if the target block consists commented or blank lines, it is considered as commented. So the toggle action is to uncomment which leaves blank lines as is. As far as I can tell, this is only mentioned in the changelog, so I'll add it to the help also. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
echasnovski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, there is no way other than manually inserting a comment leader. The reason for this is that if the target block consists commented or blank lines, it is considered as commented. So the toggle action is to uncomment which leaves blank lines as is. As far as I can tell, this is only mentioned in the changelog, so I'll add it to the help also.