cursive

Issues at: https://git.io/cursive-issues
cfleming 2020-09-09T00:13:51.054600Z

That should work. How are you saving the file in IntelliJ?

cfleming 2020-09-09T00:17:08.054800Z

So in that case, you would normally either :require/`:refer` that protocol, or refer to it qualified with an alias, like component/Lifecycle. Protocols are tricky in Clojure because they actually do define an interface, and in this case it’s probably what you want, although there are probably subtleties there that I’m not aware of.

1👍
helios 2020-09-09T09:57:15.055800Z

generating stubs seems to not work for me, i’ve copied the .idea folder from another computer (just changed one). could that be the reason? where are the stubs written? Example: the stubs for datomic

helios 2020-09-09T10:00:01.056200Z

i’ve invalidated the cache and restarted, but to no avail, using intellij 2020.2 and latest EAP cursive

helios 2020-09-09T10:04:18.056800Z

nevermind, it said that my JDK was misconfigured. once i did that generating stubs worked fine

Harish Tella 2020-09-09T14:07:08.056900Z

Oh you are brilliant. That one question solved it for me. ⌘-S was not bound to anything in IntelliJ. I just assumed it was. It must have auto-saved when I switched the focus off of IntelliJ. After binding ⌘-S to Save All , everything works like it should. Thank you so much. And thank you for Cursive. I really love it.

cfleming 2020-09-09T19:52:00.057200Z

Great! I’m glad it’s working. And thanks for the kind words, I’m glad you’re liking Cursive!