This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-26
Channels
- # aleph (5)
- # announcements (9)
- # beginners (115)
- # boot (36)
- # calva (13)
- # cider (4)
- # clara (7)
- # cljs-dev (27)
- # cljsrn (20)
- # clojure (182)
- # clojure-conj (3)
- # clojure-dev (4)
- # clojure-europe (3)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-uk (34)
- # clojurebridge (3)
- # clojurescript (19)
- # clojureverse-ops (3)
- # core-typed (1)
- # cursive (12)
- # data-science (3)
- # datomic (16)
- # emacs (9)
- # events (5)
- # figwheel-main (11)
- # fulcro (14)
- # graphql (7)
- # jobs (10)
- # jobs-discuss (6)
- # lein-figwheel (8)
- # leiningen (2)
- # lumo (22)
- # mount (1)
- # nrepl (7)
- # off-topic (69)
- # overtone (17)
- # pathom (3)
- # quil (1)
- # re-frame (5)
- # reagent (23)
- # reitit (6)
- # remote-jobs (1)
- # rewrite-clj (4)
- # ring (38)
- # shadow-cljs (54)
- # sql (9)
- # uncomplicate (5)
- # xtdb (1)
I just tried that, but it just takes me to the online help for the IntelliJ Editor, it doesn’t bring up the downloaded clojuredocs at all.
what might i be doing wrong here? i'm firing up a repl with src
and test
dirs in my dep.edn's :paths
key. one of my test namespaces has a dependency on one of my src namespaces, but cursive says it can't find the src namespace:
; src/cljc/schema/spec.cljc
(ns schema.spec
(:require [clojure.spec-alpha2 :as s]))
; test/schema/format.clj
(ns schema.format
(:require [clojure.test :as t :refer [deftest is testing]]
[schema.spec :as ss]
[clojure.spec-alpha2 :as s]))
; attempting to load schema.format:
Loading test/schema/format.clj...
Syntax error (FileNotFoundException) compiling at (format.clj:1:1).
Could not locate schema/spec__init.class, schema/spec.clj or schema/spec.cljc on classpath.
thanks!based on what you have, seems like src/cljc
should be in paths
basically whatever directory is containing the root of the namespaces
to use spec-alpha2, you will also need a git dep on clojure.spec-alpha2 repo
Is there a cheatsheet somewhere about which version of Cursive are compatible with which versions of IntelliJ. I'm thinking of upgrading to 2019.1.1 and don't know if that will break Cursive.
@hlship You’re fine to upgrade, basically any given version of Cursive supports the previous two years’ versions of IntelliJ, so currently it’s back to 2017.1. There is a problem with the indexing which I suspect is a 2019.1 bug in IntelliJ (discussed above) and an annoying issue with brace matching, so if you don’t have a compelling reason to upgrade you may wish to wait.
@kenny It doesn’t really, it’s just taken from the classpath, so whichever version of Clojure your module has as a dependency.
@manutter51 It’s just shown in the standard doc popup, so whatever you have View | Quick Documentation bound to.