This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-07
Channels
- # admin-announcements (4)
- # beginners (63)
- # boot (67)
- # clara (29)
- # cljs-dev (38)
- # cljsjs (10)
- # clojars (7)
- # clojure (336)
- # clojure-belgium (3)
- # clojure-dev (22)
- # clojure-greece (30)
- # clojure-nl (1)
- # clojure-russia (9)
- # clojure-spain (3)
- # clojure-spec (169)
- # clojure-uk (12)
- # clojurescript (45)
- # clojurex (4)
- # core-matrix (3)
- # cursive (58)
- # datascript (3)
- # datomic (18)
- # events (38)
- # hoplon (228)
- # immutant (5)
- # lambdaisland (6)
- # leiningen (3)
- # luminus (8)
- # off-topic (11)
- # om (113)
- # om-next (2)
- # onyx (10)
- # parinfer (7)
- # planck (22)
- # re-frame (11)
- # reagent (25)
- # robots (7)
- # spacemacs (3)
- # specter (10)
- # yada (3)
when I've required [clojure.spec.gen :as gen] in a namespace, cursive suggests constantly that I can require 'clojure.test.check.generators :as gen'
IIRC there might be a bug in Cursive where it doesn’t check if the alias exists before proposing that require.
basicly every time I type something in this namespace the popup shows. 2016.2 EAP and latest cursive EAP btw
clojure.spec.gen/tuple => #object[clojure.spec.gen$fn__12968$tuple__12971 0x338a2da4 "clojure.spec.gen$fn__12968$tuple__12971@338a2da4"]
In the meantime, to prevent the popups you could create a clojure.spec.gen
namespace somewhere, and (declare hash-map list map not-empty set vector fmap elements bind choose fmap one-of such-that tuple sample return any any-printable boolean char char-alpha char-alphanumeric char-ascii double int keyword keyword-ns large-integer ratio simple-type simple-type-printable string string-ascii string-alphanumeric symbol symbol-ns uuid)
in it.
Did the new build of Cursive change CLJS indexing?
I’m seeing a bunch of cljs internal functions showing up now
the ones I don’t want to see are the cljs$core
ones
@danielcompton: I don’t think so, no - that’s very strange.
@cfleming: running into an issue where Load file in REPL
simply does not work. Tried restarting IntelliJ. What could it be?
Give that a go, then we’ll know if it’s something in the project itself or something random getting screwy, though I have no idea what that might be
so i dint reimport (to avoid losing all the run configs I have). just did a sync and that fixed it. @cfleming
I actually have to go and look after my daughter, I’ll think about the best way to diagnose this, and get back to you.
To test the reimport, you could copy the whole project dir and import the copy, and see if that exhibits the problem too.
I have to shoot, but drop me a message either here or by email and let me know if that worked.
@cfleming: its fixed. disabling load out-of-date deps transitively
fixed it. I used to have it disabled, must have forgotten that i turned it on. thanks.
intellij question: is there a command to show the tooltip for a gutter icon? I would like to bind a key to it so I don't have to reach for the mouse to view why a test failed
@cfleming I did the Intelli-J update and the corresponding Cursive (I think), but now REPLs are broken. I set one up, but when I go to run it the configuration is set back to blanks and the REPL fails. Much like @darwin, I’m seeing the v1.3.0-eap2-2016.1 build, not the .2 that you showed. I tried removing the EAP repo and re-adding it (as you showed), opening and closing Intelli-J multiple times (CDN issue maybe?), flushing the caches: still no REPLs. I suppose I could remove and re-add Cursive, but I’m afraid I’ll lose my settings and still only see the .1 build. Any thoughts on what to try next?
@wasser: what platform/OS?