HISE Logo Forum
    • Categories
    • Register
    • Login

    F4 doesn't comment the line anymore

    Scheduled Pinned Locked Moved Scripting
    15 Posts 3 Posters 557 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 @d.healey
      last edited by

      @d-healey Nope, there's no line about commenting

      Screenshot 2022-11-25 at 12.29.45.png

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

      1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @d.healey
        last edited by

        @d-healey But there's no mention to recompiling script with F5 either, although it works

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

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

          @ustk HISE works in mysterious ways :baby_angel:

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

          ustkU 1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey I wonder if this could be related to my recent update toward Big Sur
            It's a very handy feature you don't notice, but it becomes considerably annoying once it's gone 😬

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

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

              @ustk It probably broke when Christoph re-did the shortcut system. It also broke some others for me, such as ctrl+d not duplicating items on the canvas. (The F4 commenting doesn't work for me either, but I don't know if it ever did because I never knew it was a thing)

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

              ustkU 2 Replies Last reply Reply Quote 1
              • ustkU
                ustk @d.healey
                last edited by

                @d-healey And CMD+D works on mac, let's make a deal ! 😁

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

                1 Reply Last reply Reply Quote 1
                • ustkU
                  ustk @d.healey
                  last edited by

                  @d-healey said in F4 doesn't comment the line anymore:

                  ...but I don't know if it ever did because I never knew it was a thing)

                  How could you live without till now ???

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

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @ustk
                    last edited by

                    @ustk I've remapped it to Cmd+# (on my German keyboard, the key next to the return key) as I kept hitting it every time I wanted to compile the script. This is also the default on Sublime Text and VS Code (I think).

                    ustkU 1 Reply Last reply Reply Quote 1
                    • ustkU
                      ustk @Christoph Hart
                      last edited by ustk

                      @Christoph-Hart Ah ok ! annoying on my french keyboard, # is the first top-left key in caps so it makes it cmd+shift+# with twisty fingers here...

                      Is there a way to make customisable via the shortcut window?

                      EDIT: not the first top, it's 2nd row...

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

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

                        Nice! Does it also work for block comments?

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

                        Christoph HartC 1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @d.healey
                          last edited by

                          @d-healey Nope, it just adds single line comment and removes it if it's already commented using advanced AI tech (if(line.startsWith("//")).

                          But sure I can make that assignable like some of the other key shortcuts.

                          ustkU 1 Reply Last reply Reply Quote 2
                          • ustkU
                            ustk @Christoph Hart
                            last edited by

                            @Christoph-Hart I've just seen the commit, trying to build now.. Effectively it would be really nice to get block a comment shortcut 😎

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

                            Christoph HartC 1 Reply Last reply Reply Quote 1
                            • Christoph HartC
                              Christoph Hart @ustk
                              last edited by

                              @ustk Not the feature you asked for but you can use the toggle comment with multiple cursors to comment multiple lines at once:

                              comment.gif

                              1 Reply Last reply Reply Quote 5
                              • d.healeyD d.healey referenced this topic on
                              • First post
                                Last post

                              19

                              Online

                              1.8k

                              Users

                              12.0k

                              Topics

                              104.4k

                              Posts