Fork me on GitHub
#cursive
<
2019-10-20
>
misha09:10:22

@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 []

cfleming19:10:58

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.

sogaiu10:10:14

@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

nmkip12:10:40

thaaaaanks sogaiuuuu

nmkip12:10:43

ill try it

nmkip12:10:54

>You're probably using nRepl. In your repl build configuration, make sure you have clojure.main set. THAT MADE THE TRICK 😄

nmkip13:10:09

Now I have rebl 😄

sogaiu20:10:29

congratulations 🙂

😁 4
dabrazhe12:10:03

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

cfleming19:10:11

That doesn’t seem to be an error from Cursive, as far as I can tell. Which version of Cursive are you running?

dabrazhe21:10:39

Version 1.8.2-2018.2

kwladyka19:10:53

it looks like a bug. This ns i ok unless I miss something.

kwladyka19:10:15

views which is in the same folder and it is ok

kwladyka19:10:02

It fixed itself after I used cmd+down to jump into source one of the function

kwladyka19:10:26

oh not really… it opened the same file twice

kwladyka19:10:53

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.

cfleming19:10:50

Yes, the layout looks ok to me. Do you mean that you have two copies of the same repo in the same project?

kwladyka20:10:57

I have it exactly like this

kwladyka20:10:04

co I am working on doc and use master as dependency

cfleming00:10:12

Ok, so I clone the three repos and then import from the three deps.edn files?

cfleming00:10:30

I just cloned the three branches as described, and imported them into Cursive. I don’t see the utilities namespace there, though.

kwladyka07:10:21

to use local dependencies

kwladyka07:10:00

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

kwladyka07:10:11

And this was random thing

kwladyka07:10:19

This issue about ns is probably random too

kwladyka07:10:47

like it doesn’t work and next day it works

kwladyka07:10:56

this kind of random

nmkip20:10:30

Any theme recommendation for intellij?

kwladyka20:10:16

I like Darcula

nmkip20:10:03

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?

nmkip22:10:29

I'll try solarized

misha22:10:26

click the second link anyway, lots of themes, might pick up some colors to customize solarized, as I did

nmkip22:10:54

I clicked it when you sent it before 🙂

cfleming00:10:36

@juan.ignacio848 I like the new IntelliJ Light Theme preview - it’s going to be the new default from 2020.x

dazld08:10:38

gruvbox works well for me

dazld08:10:51

or the oceanic dark themes from material

nmkip23:10:05

I ended up downloading material ui plugin

nmkip23:10:13

and I'm trying GitHub theme

onetom12:10:55

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.