This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-24
Channels
- # announcements (1)
- # aws (2)
- # beginners (147)
- # boot (19)
- # cider (57)
- # clara (52)
- # cljdoc (18)
- # cljs-dev (14)
- # cljsrn (4)
- # clojure (176)
- # clojure-conj (9)
- # clojure-dev (9)
- # clojure-germany (2)
- # clojure-italy (4)
- # clojure-spec (13)
- # clojure-uk (56)
- # clojurescript (72)
- # code-reviews (11)
- # cursive (17)
- # data-science (1)
- # datomic (52)
- # duct (26)
- # emacs (6)
- # events (9)
- # figwheel (1)
- # figwheel-main (21)
- # fulcro (132)
- # funcool (1)
- # graphql (3)
- # jobs-discuss (42)
- # leiningen (3)
- # luminus (45)
- # mount (10)
- # off-topic (2)
- # re-frame (17)
- # reagent (12)
- # reitit (20)
- # ring-swagger (7)
- # rum (3)
- # shadow-cljs (256)
- # slack-help (15)
- # sql (7)
- # tools-deps (50)
- # uncomplicate (1)
- # yada (9)
I know I've asked this before, but I have forgotten the answer 😞 I had a Clojure project in my workspace. As it's a monorepo I actually have lots of projects in there. I deleted one of them I no longer need, went into File > Project Structure > Modules and removed the module from the list. But when I Refresh Leiningen Projects
it still complains that it can't find that project.clj file for the deleted project
In my project.clj
, if I (def foo 1)
and then use that in defproject
as ~foo
, cursive complains about Attempting to call unbound fn: #'clojure.core/unquote: Attempting to call unbound fn: #'clojure.core/unquote
. Am I doing something wrong?
Oh, nevermind. there was an error in another project.clj -- didn't realize cursive refreshed all modules, not just the one I had just modified
Is there a way to get cursive to not hike me wayy to the right when I start a comment at the end of a line? I see this, but not sure what I would set it to:
Hello everyone. Trying the new deps.edn integration (sleek!) but I was wondering: how do I get an integrated REPL using it?
I can try and run the repl
task but it finishes with no output
Second question: what's a good keybinding set to use with Parinfer? Older versions of Clojure had an emacs-like Paredit keyset and now it's gone. I'm happy to embrace Parinfer, I was just wondering if there was an opinionated set to use as a starting point for inspiration
I can't speak to parinfer, though with paredit, some keys that have worked pretty well for me in IntelliJ are Ctrl-Space {W,A,S,D}
for Splice sexp killing backwards, Slurp backwards, Kill, and Slurp Forwards respectively @frankie
Thanks @isak!
@frankie That looks like you’re running a deps task there - what you want to do is configure a REPL as with the lein integration, but select the deps option instead. Hopefully it’ll be clear but if it’s not let me know, things have moved around a bit.
Ok I've updated Cursive and I've found the option , it works!
One thing tho: if I launch clj -A:repl
from the terminal and I do things like (js/alert "Hi")
or invoke functions from my namespace, everything works. When the repl launches from clojure.deps it cannot find the js namespace or my user defined namespaces
Autocomplete works but actual resolution doesn't
Oh, I found the problem: you have to select clojure.main rather than nREPL, is that expected?