HISEScript-Sublime
-
@christoph-hart , Can you, when you have time, provide the list of such "snippets", or, at least, of those, which are not obvious?
I'm making some, like custom callback definition and external js mandatory callbacks, but I'm a newbie in HISE, so, definitely, will lose things.
Also, downloaded doxygen and tried it. Cool!) But I'll get to it only when the current system broke, cause it requires to be generated on server-side, and now user can just specify hise folder...
(isn't updated yet. maybe, closer to morning)
-
From the top of my head (with decrasing importance):
- all ScriptPanel callbacks that accept a function as parameter. Check the autocomplete popup for this.
- the custom callback for a UI component (you can create these already with the context menu of a UI component, but still useful for a more Sublime focused workflow)
- script definitions (for both modules and UI components).
- the ScriptPanel.setPopupData / FloatingTile.setContent methods which take a JSON object as argument (You can already add the default FloatingTile properties like Type and ColourData).
-
Christoph, thanks!
updated:
added:
- namespaces
- locals
- snippets:
- callbacks mandatory
- callback of control
- include
- setting
"hise_supress_completions": false
- Math, Array, String objects now parsed from source
changed:
- Now syntax is copy of standart Javascript with additions to native scopes, not just added scopes.
-
hey levitanus,
I tried to install your HISEScript Package but couldn't find the HISEScript entry in the syntax view, after making sure that the HISE path was set up right.
btw: renaming the package-folder to
HISEScript
and mentioning the specific Package Settings > HISEScript > Settings - User could also help the user in the install procedure.Thanks a lot for this project! Looking forward to using it.
best, d -
@dominik-mayer
Pity, but now I can't tell more. Will try to install it from the laptop at morning and, maybe on ubuntu.
I think it can be, from one hand too high in the folder structure, or too low. But maybe other problems. Maybe, something wrong with paths, getting by the script. But, generally, the syntax has to appear just with pasting it in the right place... -
@dominik-mayer said in HISEScript-Sublime:
package-folder to HISEScript
Generally, it has to be. But I afraid of other repositories with the same name. So... I hope, when I get to package control, it will be much easier.
@dominik-mayer said in HISEScript-Sublime:
Package Settings > HISEScript > Settings - User
They are mentioned in the install guide on GitHub. Or not quite? ))
-
12 days waiting of review to package control...
Anyone has posted packages there yet? How long does it take?Still, have not touch any Prettier script to adopt for using with HISE syntax... Too much of proprietary work... Hope... Hope, there will be a couple of months to do what I endeavor.
-
Wish I was advanced enough to give it a try
-
Finally, available via PackageControl:
-
@Levitanus Good work! Now make the same for Atom :p
-
@Levitanus Gotcha! Thank you :)
-
Is this outdated , cannot find it via package control ?
-
@lalalandsynth Just download it from the github page he linked. It is definitely outdated because HISE has had lots of additions since this ST package was updated.
-
ok, if its outdated , guess I will leave it for now.
-
Actually, The package itself is designed to be always up to date by parsing the current HISE git folder.
But, since I didn't look to the HISE folders\API structure for a while (I just can't find any commit that compiles on my machine), It can leak some API calls.
Still, the package present in packagecontorl.io and you can try it.