This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-19
Channels
- # beginners (134)
- # boot (4)
- # cider (23)
- # clara (2)
- # cljs-dev (2)
- # cljsrn (4)
- # clojure (147)
- # clojure-austin (9)
- # clojure-berlin (2)
- # clojure-dusseldorf (2)
- # clojure-france (2)
- # clojure-italy (11)
- # clojure-russia (1)
- # clojure-spec (18)
- # clojure-uk (182)
- # clojurescript (40)
- # community-development (5)
- # cursive (29)
- # datascript (6)
- # datomic (18)
- # duct (6)
- # emacs (4)
- # events (1)
- # fulcro (46)
- # hoplon (5)
- # jobs-discuss (12)
- # keechma (1)
- # luminus (7)
- # lumo (1)
- # off-topic (11)
- # onyx (9)
- # parinfer (5)
- # protorepl (1)
- # re-frame (18)
- # reagent (23)
- # reitit (2)
- # ring (5)
- # ring-swagger (20)
- # schema (1)
- # shadow-cljs (32)
- # spacemacs (1)
- # specter (2)
- # vim (26)
My auto-complete for project.clj dependencies has stopped working for a while. I did disable all my intellij plugins and re-enable only a select few a while back. Cursive is enabled in intellij.
@caleb.macdonaldblack You’re probably missing the Maven plugin, which that functionality requires.
@cfleming That was it. Thank you!
Hi. Is there any way to prevent parinfer from automatically modifying files with bad indentation?
Yeah, this is a hassle for me, too.
Something like a “lazy indent” mode, but maybe that’s what paredit is for.
@andre.peric the latest dev build just highlights the bad indentation without fixing it, and runs Parinfer only after it is manually fixed
@shaunlebron Cool, I'll get it. Thanks!
I Have a script that exports some environment variables. How can I make them available to be in the cursive REPL? I know I can manually type them into the REPL config. I also know I can run scripts before launch, but anything exported doesn’t seem to be available to my running app.
@andre.peric check the mailing list, it has details on how to install it. It has to be installed manually for the moment.
@caleb.macdonaldblack So I don’t have a good solution for this right now, sorry. It’s something that occasionally people need for things like authentication values etc. The only solution I can think of right now is to run the REPL at the command line using lein repl :headless
and then connect from within Cursive using a Remote REPL config.
@cfleming I’m also running a cljs repl like this: lein run -m clojure.main script/repl.clj
Would I be able to get a :headless to work on that somehow?
Does :headless just run it in the background
Right, :headless runs it in the background and waits for a connection. Unfortunately that doesn’t work for CLJS REPLs since it (currently) requires nREPL
Yea they do.
Someone else recommended that I create a bash script to export the vars and then open intellij from bash
And then intellij and my REPLs will have see the environment variables
@caleb.macdonaldblack Which platform are you on?
So that might be possible, but it’s tricky - Mac apps tend to get their env vars from property lists.
Okay I just confirmed that this works for in the java repl
My env vars for cljs are accessed in project.clj so I assume that’ll work
I wonder if that makes a difference to whether or now i can use the remote repl
Yea I can get them from intellij. Just trying to weigh up my options.