Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
/ AT_ZBS-API Public archive

A repository for a ZeroBrane API featuring syntax highlighting, autocomplete and function references, focused on devloping for AutoTouch.

License

GPL-2.0, CC-BY-SA-4.0 licenses found

Licenses found

GPL-2.0
LICENSE
CC-BY-SA-4.0
license.txt
Notifications You must be signed in to change notification settings

O-J1/AT_ZBS-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

AT_ZBS-API

A ZeroBrane API and syntax highlighting, focused on devloping for AutoTouch.

Note: This repo will not see further updates as I no longer have a device that can run AutoTouch. Archived 2024.

API for autocompletion and tooltips for functions

Place the attooltips.lua file to this folder: C:\....\ZeroBraneStudio\api\lua.
To register the api, open your user settings (user.lua) and add line:

api = {'attooltips'}

Save settings and restart ZeroBraneStudio

AT keywords highlighting

Place the atkeywords.lua, athelp.lua and atshowdocumentation.lua files to: C:\....\ZeroBraneStudio\packages
Place the user.lua file to this folder C:\....\ZeroBraneStudio\cfg or add the values in manually to your user file which you can do by clicking Edit>Preferences>Settings:User in ZeroBraneStudio
Restart ZeroBraneStudio
You can change the color and appearance of syntax highlighting in your user settings (user.lua)

Function lookup

Lookup detailed function documentation via right clicking on an already written function or opening the help menu and the link to official documentation on https://autotouch.net/server/doc/en.html

Reccomended userfile changes:

styles = loadfile('cfg/tomorrow.lua')('TomorrowNightEighties') -- theme matching AT keywords highlighting
stylesoutshell = styles -- apply the same scheme to Output/Console windows
styles.auxwindow = styles.text -- apply text colors to auxiliary windows
styles.calltip = styles.text -- apply text colors to tooltips
styles['keywords3'] = {fg = {204, 153, 204}, u = true, i = true}   
styles['keywords4'] = {fg = {204, 205, 76}, u = true }  
styles['keywords5'] = {fg = {204, 205, 76}, u = true }  
styles['keywords6'] = {fg = {218, 86, 86}}  

{fg = {R, G, B}, [optional] bold, underlined, italicised)

About

A repository for a ZeroBrane API featuring syntax highlighting, autocomplete and function references, focused on devloping for AutoTouch.

Resources

License

GPL-2.0, CC-BY-SA-4.0 licenses found

Licenses found

GPL-2.0
LICENSE
CC-BY-SA-4.0
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages