This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-20
Channels
- # aws (7)
- # bangalore-clj (2)
- # beginners (64)
- # boot (34)
- # cider (1)
- # cljs-dev (8)
- # cljsrn (22)
- # clojure (268)
- # clojure-greece (2)
- # clojure-italy (8)
- # clojure-quebec (1)
- # clojure-russia (5)
- # clojure-spec (7)
- # clojurescript (7)
- # consulting (1)
- # cursive (184)
- # data-science (1)
- # datascript (18)
- # datomic (54)
- # dirac (1)
- # emacs (17)
- # graphql (1)
- # klipse (2)
- # leiningen (1)
- # off-topic (17)
- # onyx (10)
- # pedestal (2)
- # reagent (16)
- # spacemacs (4)
- # untangled (3)
- # vim (28)
- # yada (3)
It is possible to use refactor-nrepl with fireplace, with additional plugins, but fireplace itself doesn't use refactor-nrepl features
@juhoteperi interesting.. I'll take a look at that... Acid uses a single feature (which was buggy but they managed to fix) from refactor-nrepl. If I remember correctly, for code navigation... I'll take a look at fireplace to understand how it supports it.
Which is from cider-nrepl
Fireplace also works without cider-nrepl and includes fallback for that
@ingvij Sort of. My plugins seem to be working but I'm having trouble with lein. For some reason I can only call the repl from the home folder but calling it from other folders cause the repl request to time out
@vitruvia acid uses your nvim location to find lein. If you work with tabs, do a :tcd
to your project/repl location.
@ingvij the problem i'm having is with starting a lein repl inside a project directory. When I start it in a non-project directory it runs fine, but within a project it gives me an error:
Error loading refactor-nrepl.middleware: clojure.lang.ExceptionInfo: Alembic can not manipulate specified ClassLoader. {:classloader #object[jdk.internal.loader.ClassLoaders$AppClassLoader 0x73035e27 "jdk.internal.loader.ClassLoaders$AppClassLoader@73035e27"], :reason :not-addable-with-dynapath}, compiling:(mranderson047/alembic/v0v3v3/alembic/still.clj:65:1)
I have been searching for a solution since yesterday without any luck. My project.clj is empty except for the 2 plugins that Acid tells me to include (cider and n-repl)@vitruvia You shouldn't technically need nrepl plugin these days. What are the contents of the files in ~/.lein/
?
This is the minimal profiles.clj you require: {:user {:plugins [[cider/cider-nrepl "0.14.0"]]}}
My .lein
has indices, profiles.clj, repl-history, self-installs
. My profiles.clj has {:user {: plugins [[refactor-nrepl "2.3.0-SNAPSHOT"] [cider/cider-nrepl "0.14.0"]]}}
@dominicm So I can run acid without the refactor plugin? their website says to use both
If you don't have refactor-nrepl installed, you won't be able to run some commands, such as function navigation
@dominicm That was just a typing error. The real file doesn't have the space; sorry I had tagged you wrong