HISE Logo Forum
    • Categories
    • Register
    • Login

    Block comment improvement

    Scheduled Pinned Locked Moved Feature Requests
    5 Posts 3 Posters 477 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.
    • ustkU
      ustk
      last edited by ustk

      Would it be possible to improve the block comment so it doesn't break the higher block in the hierarchy by taking into account the number of occurrences:

      /*
      inline function myFunction()
      {
          if (something1 /*|| something2*/) // this breaks the main block
              return 0;
      }
      */
      

      It might seem to be a rather minimal problem, but when you comment larger blocks of code, it can be very annoying when you have small bites already commented within the main block

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 3
      • d.healeyD
        d.healey
        last edited by

        While you're at it could you fix the issue where the syntax highlighting breaks when you scroll down a long block comment?

        Peek 2024-10-06 12-55.gif

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 3
        • A
          aaronventure
          last edited by

          Also a shortcut to automatically comment out the selected code with the block comment if the selection is more than one line (could be the same shortcut as for the single line comment.)

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @aaronventure
            last edited by

            @aaronventure https://forum.hise.audio/topic/6794/f4-doesn-t-comment-the-line-anymore/15?_=1728224444168

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            A 1 Reply Last reply Reply Quote 2
            • A
              aaronventure @d.healey
              last edited by

              @d-healey I love how you can just pull out a topic with that kind of title out of your sleeve within 60 seconds.

              You're much appreciated, David.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              13

              Online

              1.8k

              Users

              12.0k

              Topics

              104.4k

              Posts