[feature request] Fold interface designer shortcut key
-
When working on a smaller screen I often find myself closing and reopening the interface designer a lot. It would be nice to have this connected to a shortcut key.
-
@d-healey Yeah, Dominik is nagging me with this feature since a few months now...
-
as a blender & ableton user, i vote tab
-
@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.
-
@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 :/ -
@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!
-
@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.
-
@d-healey same needs! Also will be nice panels to keep width. Not to scale proportional
-
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...
-
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:- Open in a text editor (make sure that HISE isn't open or it will override your changes on close)
- search for
"Component List"
- 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
). - Save, close and open HISE.
-
@Christoph-Hart yes. Thatβs exactly what I meant :)
-
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.
-
@d-healey Yeah, maybe I'll remove those inner bracket structures altogether, I don't see any real-world usability for this.
-
Alright, I've added the ability to attach focus & fold actions using keyboard shortcuts to any floating tile. The process is described here:
https://docs.hise.audio/working-with-hise/workspaces/index.html
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).
-
@Christoph-Hart Wonderful, those shortcuts are fine by me.
-
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