Skip to content

mdhaney/lt-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lt-plugin

A Leiningen template to generate LightTable plugin projects.

Quick Start

Light Table plugin development quick start

Usage

From your LightTable plugins folder, run:

lein new lt-plugin myplugin

Options: -j - generate plugin.json instead of plugin.edn

Building

  • Add the myplugin folder to LightTable and open the myplugin.cljs file.

  • 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.

Testing

  • Run the command myplugin: Say Hello

License

Copyright © 2014 Mike Haney

Distributed under the Eclipse Public License 1.0

About

Lein template for LightTable plugin projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published