Fork me on GitHub
#cursive
<
2016-06-13
>
danielcompton02:06:52

Is there a way to dump all Cursive formatting details into the .idea/codeStyleSettings.xml?

danielcompton02:06:15

The current way it works, I think they only get written there when it changes, and otherwise they are taken from your default config?

danielcompton02:06:49

So if you have several colleagues with different config, they can have different formatting settings, even when code style is set to project

cfleming03:06:15

@danielcompton: No, there isn’t. Currently only values that differ from the built-in values are written out.

cfleming03:06:41

But I don’t understand what the issue is - if the code style is set to project, different users shouldn’t be able to have different config.

danielcompton03:06:20

Is it built in values or default values?

cfleming03:06:25

Since they all have the same defaults, and the config in the project is just the delta from those defaults.

cfleming03:06:51

Umm, both actually. I see what you’re saying - the default value config is not written out?

cfleming03:06:09

Things like “One space indent” and “default to indent only”?

danielcompton03:06:31

The specific one was comment indentation

cfleming03:06:55

I see, yes.

cfleming03:06:12

Could you file an issue for that?

cfleming03:06:21

I’ll see if I can move that in there.

cfleming03:06:31

So it’s shared correctly.

danielcompton03:06:31

Sure. Is it cursive or IntelliJ though?

cfleming03:06:41

That’s Cursive.

rauh06:06:45

I keep having resources in my source-path when I do a Refresh leiningen dependencies in Cursive. Even though it shouldn't ever be. (I can see it's not with lein pprint). It's annoying since Jump to source etc, all resolve to my compiled (cljs,js) files in there.

danielcompton08:06:53

Can you share a link to your project.clj?

lsenta12:06:16

Hi guys, I get errors consistently in cursive, intellij15

myproject/project.clj
         java.lang.ClassNotFoundException: jsr166y.ForkJoinPool, compiling:(clojure/core/reducers.clj:56:21)
         jsr166y.ForkJoinPool

lsenta12:06:13

It started breaking a few weeks ago, I left my project on the side, but it breaks even a simple new project, created with lein new luminus myproject +swagger, then import project from sources

lsenta12:06:06

none of the folders (src, env, resources, test) are shown in the project manager

lsenta12:06:24

and project.clj gives me things like defproject cannot be resolved

lsenta12:06:25

on Mac El Captain, tried to import the project with java7 and java8, same error. Is there something I can do?