This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-29
Channels
- # architecture (2)
- # bangalore-clj (2)
- # beginners (177)
- # boot (1)
- # cider (36)
- # clara (15)
- # cljs-dev (30)
- # cljs-experience (6)
- # cljsrn (7)
- # clojure (94)
- # clojure-argentina (2)
- # clojure-brasil (1)
- # clojure-dusseldorf (6)
- # clojure-greece (1)
- # clojure-italy (18)
- # clojure-norway (4)
- # clojure-quebec (1)
- # clojure-russia (28)
- # clojure-sg (3)
- # clojure-spec (12)
- # clojure-turkiye (1)
- # clojure-uk (12)
- # clojurescript (169)
- # code-reviews (4)
- # community-development (2)
- # core-async (6)
- # core-matrix (6)
- # cursive (35)
- # datomic (18)
- # devcards (4)
- # euroclojure (1)
- # hoplon (2)
- # keechma (4)
- # klipse (2)
- # leiningen (1)
- # luminus (16)
- # mount (1)
- # off-topic (34)
- # om (31)
- # pedestal (6)
- # re-frame (14)
- # reagent (33)
- # specter (4)
- # uncomplicate (8)
- # unrepl (15)
- # untangled (24)
- # yada (25)
How does Cursive detect when new bindings are introduced? Sometimes it works (e.g. when using let) but sometimes it doesn't (e.g. when using core.match).
@stijn what's your take on the support as compared to using regular Clojure ? (And which lein/boot template did you start out with)
(ns user
(:require [cljs.repl :as repl]
[cemerick.piggieback]
[cljs.repl.node]))
(defn start-cljs
[]
(cemerick.piggieback/cljs-repl (cljs.repl.node/repl-env)))
It seems something like this: (#?(:clj b :cljs a) ,, )
completely throws off Cursive to the point where you can barely edit the CLJC file well. Can somebody confirm?
@rauh It’s possible - I fixed some bugs with that recently but there may be more. If you could file an issue with a simple repro case I’ll look at it.
@pseud I have an active project doing that, IMHO works as well as main Clojure, except you can't debug (something I don't do in Clojure either)
I'm guessing this would be major, but how hard is it to merge the REPL indexes with the static indexes? I've got functions defined by HugSQL that show up in the REPL, but aren't resolved in the editor
@rauh Thanks for the issue. I’m curious - when do you want to switch in call position?
@kidpollo You can do this from within the IDE (if you install a version that’s too recent, Cursive will prompt you to download the right one) but there isn’t a good way to do this from e.g. the website. If you DM me your licence or order ID, I’ll let you know.
@pelletier Do you have an example of a condition which is not working?
IntelliJ IDEA 2017.2 EAP Build #IU-172.2465.6, built on May 24, 2017 JRE: 1.8.0_112-b16 x86_64 JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation Mac OS X 10.12.5 Cursive Version: 1.5.1-eap3-2017.2
@pelletier Thanks, I’ll take a look.
@andershessellund This is done internally, Cursive parses those forms. I have not added support for core.match yet, but I’ve been planning to look at it. I’m also planning to open up an API so others can do this, but it’s proven much more complicated than I expected.
@erichmond I’m not sure to be honest, depends how complex they are. You can control how many are kept around.
@danielcompton So that actually would be easier after the recent changes to REPL completion, although still far from trivial.
Thats my other question, if I set it to like.. 10,000, does it purge the first once the 10,001 comes in?
I can’t remember off the top of my head if there’s some buffering which might mean that it’s not exactly line accurate.