This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-21
Channels
- # bangalore-clj (11)
- # beginners (82)
- # boot (1)
- # braveandtrue (29)
- # cider (16)
- # cljdoc (2)
- # cljs-dev (2)
- # clojure (74)
- # clojure-dev (3)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-nl (4)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-uk (53)
- # clojure-ukraine (1)
- # clojurescript (33)
- # cursive (29)
- # datomic (59)
- # editors (4)
- # emacs (14)
- # fulcro (2)
- # graphql (12)
- # hoplon (2)
- # nyc (4)
- # onyx (5)
- # parinfer (10)
- # pedestal (22)
- # re-frame (11)
- # reagent (35)
- # ring-swagger (5)
- # shadow-cljs (150)
- # tools-deps (9)
- # vim (1)
- # yada (20)
Alternative is just to start the REPL with the aliases and flags you want, and connect to it as a remote repl
IntelliJ with Cursive does not seem to be indexing deps.edn dependencies, e.g. (:require [datomic.api])
via com.datomic/datomic-free {:mvn/version "0.9.5697"}
in deps.edn. Auto-import is enabled and IntelliJ prompts to refresh dependencies when I touch deps.edn. What am I doing wrong?
@petrus What’s the behaviour you’re seeing? Are the symbols not being resolved? I can’t think of anything that should cause that. It’s definitely working for dependencies in general, I don’t know why datomic would be different.
where :deps in deps.edn contains this
@U0567Q30W not sure if you can see my image uploads due to Slack limits?
no, I don't get a prompt for stubs
cool, didn't know about the deps tool window. I can see datomic-free is listed as a recognized dependency of my project
so this shows up, which looks like stubs
No, that’s IntelliJ autocompleting from classes - those are the compiled class names.
but no suggestions come up for a known function
Can you check the Event Log, View->Tool Windows->Event Log for anything relating to stubs?
ahhh, I see stub prompt now. I always ignored this
Great 🙂 It works after generating stubs. I didn't know I needed to do that for suggestions to work
So that will create function stubs introspected from the namespaces which Cursive can work with.
where :deps in deps.edn contains this
Great 🙂 It works after generating stubs. I didn't know I needed to do that for suggestions to work
Hi, clojure noob and intellij noob here? I can get the Clojure REPL to work in Intellij, but can't seem to get Clojurescript REPL to. Can't someone give me steps to make this happen?
If you are targeting node and want a clojurescript repl in Cursive then I have some instructions in this project.
I followed the instructions here: https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL