Fork me on GitHub
#cursive
<
2018-12-06
>
caleb.macdonaldblack02:12:40

Is there any way to commit my function indentation and 'resolve as' settings to my repo?

cfleming02:12:30

@caleb.macdonaldblack Yes, under Settings-&gt;Editor-&gt;Code Style and Settings-&gt;Languages &amp; Frameworks-&gt;Clojure-&gt;Symbol Resolution, set the Scheme to “Project”.

😱 4
😍 4
cfleming02:12:24

@ben.grabow Ugh, yes, sorry - I’ve been meaning to fix this. I’m not aware of a good workaround, sorry.

Ben Grabow03:12:45

When it doesn't work I use Ctrl+B to get the declaration popup, then Ctrl+Shift+I to get a peek at the declaration I want. It works but is extra keystrokes and requires a different workflow depending on which symbol I'm inspecting. Thanks for looking in to it!

kanwei19:12:48

So I'm using a reloaded style workflow in my project. However, every time I run:

(require 'clojure.tools.namespace.repl) (clojure.tools.namespace.repl/refresh-all)
and then try to run Cursive's "run tests in namespace", I get
Syntax error (IllegalStateException) compiling at (billing_test.clj:1:1).
xxx already refers to: #'xxx in namespace: doublethedonation.billing-test

kanwei19:12:28

what's a good solution for this? is there a way to let cursive not reload namespaces again? (assuming that's the issue)

kanwei20:12:43

seems like cursive is "stuck" in the old unloaded namespace and not going into the renewed one. not 100% sure but it's pretty easy to reproduce

fingertoe23:12:12

I think my IntelliJ just updated — My syntax highlighting seems to have broken in Cursive.. Is there a quick fix for that?

fingertoe23:12:19

2018-12-06 15:25:14,280 [ 128403]   WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider 
I think that is the error in the log that happen around the time it turns all my symbols ugly color….

fingertoe23:12:33

I nuked my project and re-imported it, and it seems to have straightened out.