These files introduce syntax highlighting, templates and finally, code-completion for openHAB in the Textastic iOS App.
Just copy the #Textastic folder in the root directory of your Textastic App and enjoy code completion!
Currently, these code completions are supported:
- Items:
- Full item templating by typing the name of an item type, e.g.
Switch,Rollershutter,Number - Binding configuration with these parameters:
channelautoupdateexpirehomekit
- Full item templating by typing the name of an item type, e.g.
- Things:
- KNX device with
Thing KNX - KNX channel with
Type KNX
- KNX device with
- Sitemaps:
- Frame with
frame - Text menu with
text-menu - Elements with
element - Element parameters:
setpointmappingsvisibilityvaluecolorlabelcolor
- Frame with
Just navigate through the values to set by using TAB, you can also delete them when they are highlighted.
Syntax highlighting for the openHAB configuration files is completely based on @reitermarkus work in reitermarkus/OpenHAB.tmbundle.
There are three really short templates for rules, persistence and sitemaps.