This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (15)
- # beginners (186)
- # boot (11)
- # bristol-clojurians (1)
- # clara (1)
- # cljdoc (2)
- # cljs-dev (5)
- # clojure (57)
- # clojure-austin (1)
- # clojure-dev (87)
- # clojure-italy (7)
- # clojure-spec (5)
- # clojure-uk (56)
- # clojurescript (18)
- # cursive (29)
- # data-science (10)
- # datomic (84)
- # duct (83)
- # figwheel-main (4)
- # fulcro (42)
- # jobs (3)
- # lambdaisland (2)
- # off-topic (28)
- # parinfer (3)
- # portkey (3)
- # re-frame (28)
- # reitit (7)
- # remote-jobs (8)
- # shadow-cljs (29)
- # spacemacs (30)
- # specter (6)
- # sql (8)
- # tools-deps (60)
Hey, I can switch between “tabs” in tool windows (in terminal for example) with
CMD + shift + [, but this doesn’t work in the CLJ repl. I can’t find an easy shortcut to switch between two repls (server + figwheel, for example). Does this exist?
@U06ANT2JK in settings I have "editor tabs->select next tab" for me it's mapped to ALT+arrows
I have that command bound as well, but it doesn’t work for cursive REPL. Works for other tool windows…
Anyone using deps and cljs in Cursive? I have a repl up and running, but loading a ns to it (via
load-file) throws a java-exception. Copy/pasting the code to the repl works
@U052XLL3A Yep. I have it working with shadow-cljs. Node & browser repl. Seems to work well. I have a demo project public https://github.com/claudiu-apetrei/fulcro-nodejs-ssr-example
@U052XLL3A That’s definitely not expected. What is the exception?
cljs.user=> (load-file "/Users/grav/repo/jadak_test/src/em/server.cljs") java.lang.IllegalArgumentException: /var/folders/qn/4rpthd8s2tzgzd0djlfjhzy40000gp/T/out4344704115653624840351339894246073/em/server.js is not a relative path
I get this exception any time deps does an update. Doesn't block anything from working, just mildly irritating, wondering if there's something I need to configure to make it go away.
I'm trying to open an existing
deps project on a different machine, the initial sync is failing because clojure itself can't be found:
lava.lang.ClassNotFoundException: clojure.java.api.Clojure ..
On the working machine, in Project Structure->Libraries, I see
Deps:org.clojure/clojure:1.9.0, along with .. There's nothing in there on the broken machine. Clojure tools/cli is installed and I'm able to work with the
clj tool as expected.
I've tried both sharing the
.idea dir creating new project from sources. New to both intellij/cursive and deps.. any pointers appreciated 😬
Have the same issue with a new project.. A difference is broken machine is MacOS Mojave.. both have same version of the cli tools installed via
brew install clojure
@U050T7CJQ So the issue is that the deps aren’t being synced correctly. Can you check Settings->Build, Execution, Deployment->Build Tools->Clojure Deps and ensure that your path to the cli executable is correct?
Ok, thanks. I’m going to have to repro that since there should be an error message in that case. But I’m glad it’s all working now!
@mitchelkuijpers Hmm, I can’t think of an example which would support that off the top of my head, sorry.
I fixed it by making it from this:
(with-test-env env .... some body)
(with-test-env [env] .... some body)
And then resolve it as a
@frankie Sorry, all the JS interop stuff is still a bit of a mess. I’ve been meaning to fix it for the longest time but have not managed to yet.
@tanzoniteblack No, there isn’t, but if you file an issue I’ll look at that.
@andreas862 No, there isn’t right now, parameter info is the nearest substitute, but that’s View->Parameter Info rather than View->Quick documentation. You should get that as an auto-popup after a second, too.
@dave.dixon Do you have the Maven plugin enabled?
No. I take it I should? New install of Intellij.
That fixed it.