This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-20
Channels
- # announcements (2)
- # babashka (1)
- # bangalore-clj (1)
- # beginners (5)
- # cider (16)
- # clojure (125)
- # clojure-spec (3)
- # clojure-uk (5)
- # clojurescript (27)
- # cursive (46)
- # data-science (3)
- # dirac (2)
- # emacs (11)
- # fulcro (2)
- # graphql (4)
- # luminus (2)
- # nrepl (1)
- # pathom (15)
- # re-frame (1)
- # reagent (52)
- # shadow-cljs (149)
- # sql (11)
- # tools-deps (11)
- # xtdb (14)
@cfleming is there a way to add symbols to the list of indentations?
Editor > Code Style > Clojure > Form Parameters
I want to set indentation for #_
to 0
, so that
#_
(defn foo []
would not get re-formatted to
#_(defn foo []
or
#_
(defn foo []
Hmm, I’d have to check the code to be sure, but I don’t think that’s possible. The customisation code is all around list-based forms, IIRC.
@juan.ignacio848 more or less following the instructions for java 11 at: https://github.com/cognitect-labs/REBL-distro/wiki/REBL-in-IntelliJ-Cursive worked here -- now what i type at the repl shows up in rebl nicely
>You're probably using nRepl. In your repl build configuration, make sure you have clojure.main set. THAT MADE THE TRICK 😄
Hi. I am getting a popup with the message all the time in Idea:
Error reading /Users/Dropbox/POCs/minimal-shadow-cljs-nodejs/tmp_project.clj: Could not find clojure executable
It happens when I load the project or change project.cljs. I am using Idea on MacOS with Shadow-cljs for nodejs target, Cursive
That doesn’t seem to be an error from Cursive, as far as I can tell. Which version of Cursive are you running?
it could be because there are 2 repositories at once, because of github-kwladyka/form-validator {:local/root "../master"}
. At least I didn’t see this error before.
Yes, the layout looks ok to me. Do you mean that you have two copies of the same repo in the same project?
I just cloned the three branches as described, and imported them into Cursive. I don’t see the utilities namespace there, though.
Did you do this part https://github.com/kwladyka/form-validator-cljs/tree/doc#if-you-change-library-code ? Do this in doc
repo then open doc
repo
I think it is connected with my issue openning deps.edn before. I was clicking on dep.edn in master, but Intellij opened deps.edn in doc instead
I like it too (and also use it). Sometimes I want to switch it but I can't find one that feels better... maybe a light theme?
http://color-themes.com/?view=index has previews
click the second link anyway, lots of themes, might pick up some colors to customize solarized, as I did
@juan.ignacio848 I like the new IntelliJ Light Theme preview - it’s going to be the new default from 2020.x
there are a few solarized themes:
1. https://github.com/4lex4/intellij-platform-solarized
2. https://github.com/snowe2010/solarized-jetbrains
3. https://github.com/jkaving/intellij-colors-solarized
i only used their light variants.
the contrasts feel a bit off for me in case of #2.
i used #1 afterwards for ~4months and quite liked it.
on older 2k iMacs it's not the best though.
#3 doesn't seem to be published into the jetbrains plugin repo, so no experience with that.
about a week ago i switched to the IntelliJ Light Theme preview
and so far im quite happy with that even on the 2k iMacs, not just the 5k one.