Hi !
First of all, I'm not all that familiar with cljc other than the concepts in general, so bear with me if I'm not entirely precise/correct in my statements :-)
We're really busy trying to get a new version of LightTable out transitioning from node-webkit to atom-shell.
I don't think we'll be able to address proper cljc support until that work has completed.
The ClojureScript version of Light Table is quite old, so we have our work cut out in terms of upgrading ClojureScript support which is rather important for reader conditionals support.
- I've got a pending pull request for the lighttable nrepl middleware (used for eval).
https://github.com/LightTable/Clojure/pull/48- That pull request contains an updated version of tools.reader capable of reading reader-conditionals
With a custom build of
https://github.com/LightTable/Clojure/tree/master/lein-light-nrepl applying that pull request I was able to:
- Connect to a sample project containing a cljc file
- From a regular clj file require the namespace from the cljc file and eval a function call from the cljc namespace
But unfortunately evaling the cljc file in itself is not supported by LT currently, and I gather there might still be some pending issues with nrepl support for that as well (ref
http://dev.clojure.org/jira/browse/NREPL-78) ?
To summarize an answer: In the short term, I don't think there is much you can do to make it work. Light Table is just not there yet and wont be for while unfortunately.
cheers
Magnus