Community
    • Login

    How do I toggle block comment?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 481 Views
    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
      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
        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
          nutnutwin @Ekopalypse
          last edited by nutnutwin

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • nutnutwinN
            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors