Scriptable Development Environment for VSCode
This project includes
Script file name should not contain spaces
How to start to develop scriptable apps with VSCode:
git clone https://github.com/gebeto/scriptables
./scriptable.sh init
code .
) and start to build your apps fast and easy!Folder
sources
is your scriptable folder link, you can edit files there and it will be updated in scriptable app.
Tou can use BASH script or VSCode extension for it
$ ./scriptable.sh init
IMPORTANT: Script name should not contain any spaces, because RUN hotkey will now working
$ ./scriptable.sh import ScriptName
# or
$ ./scriptable.sh import Script-Name
# or
$ ./scriptable.sh import Script_Name
plugin will replace
scriptable.sh
when it will done(work in progress).
Scriptable Typescript typings
If scriptable typing are not loaded for you, need to add ///<reference path="../index.d.ts" />
on top of the your script (like shown below).
Where path is a relative path to the index.d.ts
file.
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: green; icon-glyph: magic;
+ ///<reference path="../index.d.ts" />
...