How do I toggle block comment?
-
Hi
I see that there are
Edit -> Comment/Uncomment ->- Toggle Single Line Comment
- Single Line Comment
- Single Line Uncomment
- Block Comment
- Block Uncomment
But no “Toggle Block Comment”
wonder if there workaround for this?
(Seems available in VSCode, just an example
Thank you so much.
-
The only “workaround” I see at the moment is to use one of the
script plugins and do the necessary calculations to implement it.
But can I ask you a serious question:
Where do you see an advantage in using block comments over line comments? -
This post is deleted! -
Where do you see an advantage in using block comments over line comments?
A very refreshing point indeed…
Yes for many language with decent single line comment it is totally fine
while for Markdown for example, only block comment is properly defined<!-- your comment -->
the built-in markdown use “#” for single line comment, which is reserved for paragraphs in markdown
Yes I can change to to like “//”, but is not compatible when I open the file in other Editors, say, VSCode.
Thank you.