Fork me on GitHub
#cursive
<
2016-06-01
>
solicode05:06:30

Thanks for the confirmation. Hmm, a TypeScript solution could be interesting with all the extra information it would have.

cfleming06:06:07

@solicode: Yes, I’m definitely interested in investigating whether type propagation could help CLJS support. Unfortunately since CLJS itself doesn’t support much type hinting, it’ll probably only be useful right near the interop site.

imre08:06:10

@cfleming: I'm a little puzzled. This morning I opened up Intellij and loaded the project I was working on yesterday

imre08:06:29

but the whole static analysis thing seems to be broke

imre08:06:35

and everything is yellow

imre08:06:36

is there a way to force cursive to reindex everything?

cfleming08:06:07

Yes, File-&gt;Invalidate Caches…

cfleming08:06:29

Have you been using the new features to mark some forms as def-like?

imre08:06:46

yeah, although -> instead of def

cfleming08:06:27

Hmm, that shouldn’t affect it.

cfleming08:06:19

The indexes do get borked from time to time - it happens with IntelliJ for Java too, although much less frequently. I use the indexes in very different ways to most plugins, so I suspect I expose more bugs in their indexing layer.

imre08:06:08

that did work, thank you!

imre08:06:19

on that note, is there a single place in the IDE where I can check what macros I marked as def-like or ->-like?

cfleming08:06:43

@imre: Yes, Settings-&gt;Languages &amp; Frameworks-&gt;Clojure-&gt;Symbol Resolution

imre08:06:13

this is what I call excellent customer support 🙂

cfleming09:06:22

No worries!

dnolen17:06:51

so is known that basic things don’t seem to consistently work in .cljc files?

imre17:06:26

such as?

dnolen21:06:12

jump to definition just doesn’t seem to work from a reader conditional

danielcompton22:06:22

The way Cursive is implemented at the moment, it sees two functions, a clj and a cljs, and it doesn’t know which one to pick (even though they resolve to the same position in the file)