This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-09
Channels
- # admin-announcements (1)
- # beginners (78)
- # boot (36)
- # cider (13)
- # cljs-dev (15)
- # cljsjs (3)
- # cljsrn (10)
- # clojure (99)
- # clojure-austin (1)
- # clojure-australia (1)
- # clojure-italy (14)
- # clojure-korea (17)
- # clojure-norway (1)
- # clojure-russia (42)
- # clojure-sg (1)
- # clojure-spec (50)
- # clojure-uk (80)
- # clojurebridge (24)
- # clojurescript (83)
- # community-development (10)
- # conf-proposals (36)
- # core-async (12)
- # cursive (20)
- # datomic (38)
- # hoplon (63)
- # lambdaisland (2)
- # leiningen (6)
- # nyc (2)
- # om (54)
- # om-next (52)
- # onyx (129)
- # planck (15)
- # re-frame (38)
- # reagent (2)
- # rethinkdb (8)
- # specter (1)
- # untangled (2)
How do I add a Java argument (now heap space) to a lein task?
I’ve gone back and forth on whether Cursive should allow you to override args that are provided in project.clj
If I let users override them in the run configs, merging them is pretty hard - parsing all the JVM options to filter dupes (e.g. if you specify -Xmx in project.clj
and then override it in the run config, I have to remove one of them and replace it with the other).
I’m open to opinions about whether that should be allowed per-task (or per-REPL, etc)
Understood.
Is this the best resource for running ClojureScript in Cursive? https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL
Also, what does the clj cljs select above the repl do?
When you’re using a REPL, often you’ll connect to a Clojure REPL and then switch it to a CLJS one. Cursive has no way to know you’ve done that, and it needs to know whether the REPL is currently expecting clj or cljs. It tries to autodetect by looking for common banner strings, but sometimes you have to override it manually.
Argh... It's hard to find available key shortcuts in intellij
What's the difference between kill and kill sexp?
@pupeno: if you start with the figwheel template, you can add and run the repl script from that wiki without any of the other changes. That wiki info is a bit out of date I believe but there is nothing better, and I've had some difficulties getting it to work from certain lein templates.
@pupeno Yeah, it’s really difficult to find enough shortcuts. Note that conflicts don’t matter if the Clojure action conflicts with something that isn’t used (or isn’t used much) for Clojure
Kill kills forms until the end of the line (and continuing if the last form on the line continues), kill sexp kills a single form.
Yeah... I'm not familiar enough with intellij to make good decisions on conflicts.
Would you be up to doing it together. I could share my window, propose shortcuts and you tell me if the conflicts are acceptable.