Cl + Atom = Chlorine
Socket-REPL integration with Clojure and ClojureScript with Atom.
This package requires
Ink to work. Install it on Atom package manager
This package is still in ALPHA! Expect breakages!
So far, what's working: 1. Connect to Socket REPL from Clojure 1. Connect a ClojureScript REPL (only shadow-cljs supported for now) 1. Disconnect (and handling when a REPL goes away) 1. Doc for vars (Clojure and ClojureScript) 1. Auto complete with Compliment 1. Simple auto complete for ClojureScript 1. Refresh (crude!) for Clojure code with clojure.tools.namespace
What is still crude: 1. There are no configurations yet. 1. Debug information is being dumped in console 1. There are still some rough edges when parsing Java classes because of the way unrepl works 1. Console does not show exceptions when an error occurs 1. Console does not treat any input (it's just being used as a pipe for stdout) 1. There are still some problems when parsing exceptions (ClojureScript does not show then, Clojure sometimes misses stacktrace) 1. There's no "goto definition", no "refactoring" yet 1. The option to connect to a self-hosted ClojureScript socket REPL does nothing for now 1. No support for Figwheel, Sidecar, etc (yet) 1. No config for refreshing (for now, everytime you save a Clojure file, it refreshes) 1. No way to toggle between Clojure and ClojureScript (for now, when you eval a CLJS file, it'll evaluate as ClojureScript, and every other file it'll evaluate as Clojure) 1. There are APIs for AutoComplete with ClojureScript (emacs uses then!), but they are not yet supported (in fact, Shadow-CLJS does not support then) 1. There are no tests! Most of the tests are in REPL-Tooling library, but they are outdated
As with proto-repl, Cider, and others, you need to fire up a REPL in the console, then connect it with Atom. If you're using Clojure, it'll use the wonderful UnREPL project to send and receive commands.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.