Possible to add more colouring options in script editor?
-
I've found that I really appreciate good use of colour in a script editor or IDE!
It makes it 10 times easier to read for my brain.Sadly the HISE script editor doesn't color functions or namespaces, even though the code preview option in this forum does color functions.
Would it be possible to add this feature? Or is this something I can do myself?
I've read that this is actually not that easy to do, and there might be real technical limitations, but I don't know for sure how it works.There's also no HISE extension for Visual Studio Code right?
namespace MyNameSpace { var variable; } // --- Target ComboBox --- // Only testing Filter for now inline function onTargetBox(component, value) { if (value <= 1) // Disconnect MM_Filter if "None" option is selected {MM.connect("LFO Modulator", "MM_Filter", false);} else if (value == 2) // Connect MM_Filter if "Filter" option is selected {MM.connect("LFO Modulator", "MM_Filter", true);} } cmbTarget.setControlCallback(onTargetBox); MyNameSpace.variable = 1; -
I know I've flagged this as a feature request, but I don't actually know if it's possible or not already. Claude told me this has to do with a languages interpreter and changing that can be very difficult to do.
Can anyone explain?
-
@observantsound You might want to try using an external editor. I use Sublime but it won't give you much more colours. However Atom seems much better at colouring javascript (Hise script is recognised as javascript) and the only reason I didn't switch fully to Atom is that I am used to Sublime...
In Hise there is a option in the settings allowing the project to be recompiled as soon as a file as changed (so when you saved it in the external editor)

-
@ustk Atom's dead, Pulsar is the replacement. But there are probably better options line Zed or LiteXL