Cursive doesn't provide any explicit support for CLJS REPL creation right now, although it's on my urgent shortlist. The most reliable configurations, as bhauman notes in that Figwheel issue, generally skip using nREPL altogether. Cursive actually provides a pretty good experience with that configuration, since completion is taken from the open project via static analysis rather than being sent over the wire. This means that you won't get completion for items that have *only* been sent to the REPL from the REPL editor, but you will get it for any code entered into an editor for a file anywhere in your project. This is less problematic with CLJS than with Clojure since most people generally seem to edit files in a normal editor and send a file at a time via Figwheel or something like devcards.
On 12 October 2015 at 08:58, Adam Kowalski <[email protected]> wrote: > Devcards are fantastic, but I still feel like connecting to a repl is > important as it really allows your editor to understand your code and give > you important information about your environment in the state that it is > currently in. > > For whatever reason I am able to get everything working when I use a > chestnut build with just three steps > > 1. Cider jack in > 2. (run) > 3. (browser-repl) > > It's just when I try to do the whole thing myself I cannot figure out how > to get all the different pieces set up. There also doesn't seem to be any > definitive tutorial for how to get everything working with cider and > clojurescript. The setup with figwheel just gets more complicated, as now > you need to have the figwheel repl run on top of nrepl, then connect cider > to that. > > Is it any simpler with cursive, as maybe I should start to look into that. > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
