Community
    • Login

    How do I toggle block comment?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 807 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nutnutwinN Offline
      nutnutwin
      last edited by

      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.

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @nutnutwin
        last edited by Ekopalypse

        @nutnutwin

        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?

        nutnutwinN 2 Replies Last reply Reply Quote 0
        • nutnutwinN Offline
          nutnutwin @Ekopalypse
          last edited by nutnutwin

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • nutnutwinN Offline
            nutnutwin @Ekopalypse
            last edited by

            @ekopalypse

            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.

            1 Reply Last reply Reply Quote 2

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors