This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-24
Channels
- # beginners (64)
- # calva (40)
- # cider (76)
- # clara (13)
- # clojure (72)
- # clojure-dev (34)
- # clojure-italy (4)
- # clojure-nl (14)
- # clojure-poland (1)
- # clojure-uk (30)
- # clojurescript (58)
- # clr (10)
- # core-async (101)
- # cursive (31)
- # datomic (9)
- # emacs (20)
- # fulcro (2)
- # jackdaw (1)
- # jobs (3)
- # juxt (3)
- # luminus (4)
- # lumo (15)
- # mount (4)
- # nrepl (29)
- # nyc (1)
- # off-topic (27)
- # qlkit (1)
- # quil (5)
- # re-frame (19)
- # reitit (8)
- # remote-jobs (4)
- # rewrite-clj (5)
- # shadow-cljs (45)
- # spacemacs (22)
- # sql (9)
- # uncomplicate (1)
- # xtdb (14)
Hey guys. Are any of you aware of how to solve this error message: "user-error: โautopair-newlineโ requires the nREPL op "classpath" (provided by cider-nrepl)
I think it's related to the message I get in my repl: WARNING: CIDER requires cider-nrepl to be fully functional. Many things will not work without it
Currently using this setup:
[nrepl "0.6.0"]
[figwheel-sidecar "0.5.18"]
[cider/piggieback "0.4.0"]
[cider/cider-nrepl "0.21.0"]
[lein-figwheel "0.5.18"]
@olle142 how are you starting nREPL? if you're not using cider-jack-in then you have to make sure yourself that the cider-nrepl middleware is present
if you're using leiningen then add [cider/cider-nrepl "0.21.1"]
to the the :plugins
section
hello everybody! is there a way of starting two clojurescript repls to the same project but with different builds? I'm working with a browser cljs app and a nodejs cljs server, both sources in the same project. Starting two clojure repls to the same project would also work.
hi all, i have a noob
question: i'm using cider
+ emacs
. Sofar i have compiled the buffer with C-x C-k
but in the cider-jack-in
REPL, i get unable to resolve symbol: ..
plus some java errors.. the code itself it is fine, but it seems to me that cider
cannot load my project namespace, because it prompts user
instead of the namespace.
i have tried different projects, but i get always the same error msg, def symbol not defined, etc. anyone has a clue how i could debug it further? tia ๐
could you give some more info like the full error you are seeing, and the input code? (also might help to know versions of emacs and cider you are on, just in case)
user> (-main)
Syntax error compiling at (clojure-noob:localhost:33929(clj)*:43:7).
Unable to resolve symbol: -main in this context
emacs version: GNU Emacs 25.3.1
cider 21
, running on linux opensuse leap15, with leininigen
Leiningen 2.9.0 on Java 10.0.2 OpenJDK 64-Bit Server VM
`
(ns clojure-noob.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!"))
๐when you do C-c C-k
it sends code to cider, but you shouldn't expect the repl to switch ns
if you see the basic example there, it seems that it assumes that cider switch implicetely to namespace
allthough the doc is deprecated in a sense that it uses old cider, now i dunno if it is up2date..
i have tried vim, and all other editos but comparing to emacs, emacs is way better ๐
thx @UHBQQMPGR for allhelp was really usefull
i was thinking it was due to my gnu-emacs on linux, namely is that when i run the :cider-mode
but honestly i dunno if it is because my emacs configuration is preventing it. I see save/etc buttons
@plexus I'm starting my repl with: lein trampoline with-profile more-figwheel figwheel app test
and then I try to connect to it with cider-connect-cljs
like I said start by adding the cider-nrepl plugin to your project.clj. You can also try cider-jack-in-clj
and then look at your *Messages*
buffer, it will show you the command CIDER uses to start leiningen, which adds the necessary plugins
hi everyone, I've just found that locals are not autocompleted when I work with CLJS so the same issue as covered here https://github.com/alexander-yakushev/compliment/issues/12 but seems that doesn't work in cljs any ideas?
ah, as I see, compliment has opened PR for cljs support ๐ but maybe anyone has another ideas/tools on that
At the moment it is just not possible I guess, nobody has put enough work in it to make it happen. Btw the code that you see in the PR is just a port from another library which does not currently support locals either unfortunately
I didn't get into details which part of cider provides that completion, but probably not compliment as I see
Do you mean what problem the PR solve?
Historically cljs-tooling
contained all the Cljs code but nobody was maintaining it and it was neglected. Also the api that cider-nrepl would see was not consistent.
So I thought I could port the "info" part to orchard and the completion part to compliment
I have unified the api for the info and compliment will finally be the de facto completion Clojure library
Yes not yet, but folks like you now see it there and can hack away - visibility is also a goal
The first enhancement is the context for the locals. Second fuzzy matching. The sky is the limit ๐