Fork me on GitHub
#cursive
<
2017-11-04
>
cfleming00:11:25

@kenny That’s very strange. Does that happen for all namespaces requiring clojure.spec.alpha?

kenny00:11:04

Yes that was the pattern. It fixed itself after I uncommented the :require.

cfleming00:11:22

That’s very weird.

cfleming00:11:40

No-one else has reported that - are you on IDEA 2017.3 EAP?

kenny00:11:53

No. 1.6.2-eap2-2017.2.

cfleming00:11:25

Ok. In the latest EAP they’ve made some indexing changes, I thought that might have been the problem.

kenny00:11:25

Though now that I'm back in the editor, navigation to re-frame keywords doesn't seem to work.

kenny00:11:48

Oh, do they need to be full namespace qualified keyword? e.g. :foo/bar won't work but ::foo/bar will?

kenny00:11:16

Seems to not work either way actually.

kenny00:11:10

Ohh my bad. It's definitely because of the re-frame wrapper. Completely forgot about that. I believe you said there was a workaround for this?

kenny00:11:58

Editing ClojureResolveSettings.xml?

kenny00:11:06

Doing this does not work:

<item key="compute.ui-frontend.re-frame/reg-event-fx" resolves-as="re-frame.core/reg-event-fx" />

cfleming00:11:50

You might need to shut down IntelliJ, make that change and then re-start it

kenny00:11:58

Tried restarting.

cfleming00:11:47

Ok, I’ll try to reproduce that on Monday.

snoe17:11:41

Hi, I’ve been using cursive with unity and clojureCLJR and it’s working ok but I was wondering if anyone has tips. Like is it possible to tell cursive/intellij to turn off interop / classname inspections.

danielcompton18:11:32

@snoe you can turn off most (all?) inspections at a pretty granular level in the preferences

snoe18:11:27

@danielgrosse It seems the class/method highlights are at the syntax level not the inspection level - and I think the syntax level is all-or-nothing - I can’t seem to be able to keep clojure syntax and reference checks while turning off interop checks. Hopefully I’m wrong but if not I’m thinking the way to hack around the problem is to stub out java packages/classes/methods for the Unity stuff.

snoe18:11:08

(I’m talking about these highlights if it wasn’t clear) https://imgur.com/a/EP9tk