A Leiningen template to generate LightTable plugin projects.
Light Table plugin development quick start
From your LightTable plugins folder, run:
lein new lt-plugin myplugin
Options:
-j - generate plugin.json instead of plugin.edn
-
Add the
mypluginfolder to LightTable and open themyplugin.cljsfile. -
Run the command
Editor: Build file or project(you should see "Compiled plugin to ...myplugin_compiled.js" in the statusbar)
To load/reload the plugin:
- Run the command
Plugins: Refresh plugin list - Run the command
App: Reload behaviors
The plugin will also be loaded on restarting Light Table.
- Run the command
myplugin: Say Hello
Copyright © 2014 Mike Haney
Distributed under the Eclipse Public License 1.0