Welcome to JRubyArt from Atom!
atom-k9
Is an atom package that allows you to --run
or --watch
JRubyArt sketches without leaving the atom editor. Whilst the sketch is running in the --watch
mode, you can edit the sketch, and it will re-load on save. NB: make sure your sketch is not saved to a top level directory (we limit the number of files that can be watched, but you might wait a long time to find that out). Further the first time you use atom to run a sketch it might take a bit longer to load but thereafter I suspect stuff gets cached so it starts up a bit quicker (this could be a combination of editor and JRubyArt stuff), reload on save is normally pretty quick.
Check out the JRubyArt GitHub repo and [getting started][started], for more info on how to get the most out of JRubyArt. File all bugs/feature requests at JRubyArt issues. Also check out the learning [JRubyArt blog][blog]
Starting atom
From your home directory fire up a terminal and type atom
on return atom gets fired up and releases the terminal. Why not start from a window environment you may ask? Well it is the only sure way to pick up local environmental variables eg path to gem binaries (like k9
). The alternative is to create a custom launcher.
Using the Menu
Using the Shortcuts
To run Alt+Ctrl+b
(Alt+Cmd+b
macOS)
To watch Alt+Ctrl+Shift+w
(Alt+Cmd+Shift+w
macOS)
To close console Alt+Ctrl+c
(Alt+Cmd+c
macOS)
To enable JRubyArt snippets Ctrl+Shift+L
and type JRubyArt
in the popup menu, see use of prsk
snippet below for a propane sketch use bare
for JRubyArt sketch