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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login