Christoph Hart last edited by
Oh and by the way: the API documentation inside HISE is generated using the XML output from doxygen. A doxyfile that only processes the scripting API files is available here:
HISE Root/tools/api generator/xml.doxyfile
(there's also a batch script that copies the most relevant output files, which also contains some useful information).
If you switch to parsing this output, you might be on the 100% safe side as it's the exact same way I am generating the inbuilt documentation.
Have you added all custom "HISEScript" additions?
only namespaces, I'll add today later, thanks)
The main problem in additions is fact, that I have been attached too much to various code formatting tools. And one night is not enough for modifying JS beautifier. Quick additions have not worked...
g.methods, they are available as GraphincsObject class methods.
And, yep, you're absolutely right, that there are not any static analyzer. Nor yet, nor in closest future. I've spent yet a half of year on one static analyzer, that nobody is using
But if methods are used after the dot, the class name is not used:
HISE is generated using the XML output from doxygen
Thanks, once my regexps are broken, I'll get one more try to handle this xml))
Shame, but I'm totally incompetent in cpp. Looked long to Your generator's code, then tried to parse headers by GCCXML, then returned to the original idea of stupid tokenization
I'll maintain it for a while during tasks of the first HISE project – later will look to what can be done)
@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)
Christoph Hart last edited by
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).
- callbacks mandatory
- callback of control
- Math, Array, String objects now parsed from source
Dominik Mayer last edited by
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
HISEScriptand 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.
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...
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.
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.
dustbro last edited by
Wish I was advanced enough to give it a try
Finally, available via PackageControl:
d.healey last edited by
@Levitanus Good work! Now make the same for Atom
ossian1961 last edited by
@Levitanus Gotcha! Thank you