HISE Logo Forum
    • Categories
    • Register
    • Login

    [feature request] Fold interface designer shortcut key

    Scheduled Pinned Locked Moved Feature Requests
    shortcut
    16 Posts 7 Posters 1.2k 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.
    • Christoph HartC
      Christoph Hart @d.healey
      last edited by

      @d-healey Yeah, Dominik is nagging me with this feature since a few months now...

      Matt_SFM 1 Reply Last reply Reply Quote 2
      • ?
        A Former User
        last edited by

        as a blender & ableton user, i vote tab 🙂

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @A Former User
          last edited by

          @iamlamprey I use tab a lot when writing code. I vote some none-text key combo, like alt+i or a function key. Or even better, make it user assignable.

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

          1 Reply Last reply Reply Quote 1
          • NatanN
            Natan
            last edited by

            @d-healey @Christoph-Hart Can we have the Component tree Always Collapsed?
            On big projects it makes me So Confused, and Going to each Fold button takes so much time :/

            d.healeyD 1 Reply Last reply Reply Quote 1
            • Matt_SFM
              Matt_SF @Christoph Hart
              last edited by Matt_SF

              @Christoph-Hart +1 with David. And while we are at it, if each tab could have its own shortcut....

              Oh and if I could have a special function to remotely control my coffee machine in HISE it would save me a great deal of time! 😁

              Develop branch
              Win10 & VS17 / Ventura & Xcode 14. 3

              1 Reply Last reply Reply Quote 2
              • d.healeyD
                d.healey @Natan
                last edited by

                @Natan You can use the search box to filter the list, although with big projects you don't always know the name of the component you want. We have another thread somewhere with this feature request.

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

                1 Reply Last reply Reply Quote 1
                • hisefiloH
                  hisefilo @d.healey
                  last edited by

                  @d-healey same needs! Also will be nice panels to keep width. Not to scale proportional

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

                    Alright, I've added a Open Tree by default. Right click on any item in the list and choose this option. If you close and reopen HISE it should restore this setting.

                    The shortcut thingie is not so easy though, I need to register it at the top level window so that the key press will be recognized irregardless of where the current focus is...

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

                      Also will be nice panels to keep width

                      Not sure what you mean exactly, but if you want the component list to have a fixed width, you can easily do that by editing the editorData.json file in the HISE app data directory:

                      1. Open in a text editor (make sure that HISE isn't open or it will override your changes on close)
                      2. search for "Component List"
                      3. It has a child element called LayoutData. There you can adjust the size to whatever you want. If the value is negative, it means proportional layout, so -0.5 means 50% width. For absolute values, just use a positive number (eg. 300).
                      4. Save, close and open HISE.
                      hisefiloH 1 Reply Last reply Reply Quote 3
                      • hisefiloH
                        hisefilo @Christoph Hart
                        last edited by

                        @Christoph-Hart yes. That’s exactly what I meant :)

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

                          On a similar subject, can we have the function list folded by default? Usually I just want to see a list of function names and not all the inner loops and if statements.

                          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 Yeah, maybe I'll remove those inner bracket structures altogether, I don't see any real-world usability for this.

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

                              Alright, I've added the ability to attach focus & fold actions using keyboard shortcuts to any floating tile. The process is described here:

                              Link Preview Image
                              HISE | Docs

                              favicon

                              (docs.hise.audio)

                              Right now there are no default shortcuts, but maybe we can assemble a list of good shortcuts that make sense to add into the default layout template. My suggestions are:

                              • F4 for switching the keyboard focus to the interface designer. Then you can press F4 again to toggle edit / play mode.
                              • F3 for switching the keyboard focus to the code editor
                              • F2 for switching the keyboard focus to the file browser - then you can use the search bar and quickly find the files you need
                              • Ctrl + W for folding the Scriptwatch table
                              • Ctrl + E for folding the component list (and node list)
                              • Ctrl + P for folding the Property editor (and node property panel).
                              d.healeyD 1 Reply Last reply Reply Quote 3
                              • d.healeyD
                                d.healey @Christoph Hart
                                last edited by

                                @Christoph-Hart Wonderful, those shortcuts are fine by me.

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

                                1 Reply Last reply Reply Quote 1
                                • Dominik MayerD
                                  Dominik Mayer
                                  last edited by

                                  Jeeehah!

                                  What a quality of life improvement for smaller monitors :))

                                  Go to %APPDATA% > HISE > editorData.json

                                  and add any Shortcut Key under "LayoutData" in the Tab that you want to modify.

                                  example:

                                  ...
                                  "Content": [
                                    {
                                      "Type": "Tabs",
                                      "StyleData": {
                                      },
                                      "Font": "",
                                      "FontSize": 14.0,
                                      "LayoutData": {
                                        "ID": "ScriptEditorTabs",
                                        "Size": -0.5544946346088778,
                                        "Folded": -1,
                                        "Visible": true,
                                        "ForceFoldButton": 0,
                                        "ForceShowTitle": 0,
                                        "MinSize": -1,
                                        "FocusKeyPress": "F3",
                                        // "FoldKeyPress" : "ctrl + 1 
                                      },
                                  ...
                                  

                                  Heres' mine :)

                                  editorData.json
                                  ( F3 code editor, F4 Interface; ScriptWatchtable: ctrl-q, Componenlist ctrl-w, PropertyEditor ctrl-e )

                                  Greetings,
                                  Do

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

                                  17

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  103.2k

                                  Posts