Fork me on GitHub
#cursive
<
2019-12-05
>
deas06:12:32

Am I missing something or is navigation from/to node modules a bit rough? How do you guys explore them? You don't work your way through the node_modules folder, do you?

Adrian Smith11:12:20

I can run my tests in the REPL but I've somehow lost my test markers, any one know what I might have done? I can still add like breakpoints in the gutter

cfleming17:12:40

Do you get errors reported in the IDE when you run the tests?

Adrian Smith23:12:09

This is in idea.log but nothing comes in the ui to report an error

Adrian Smith15:12:26

Seems like a lot of those logs were from a plugin called simple title, now I've deleted that, the only log is

2019-12-06 15:17:48,960 [ 110057]   WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting 

denik16:12:51

@cfleming I know this the show-docs command not working in cursive is due to a clojure doc bug for cljc files. However, is there a way to hack around this? It's been years and this significantly affects my productivity. One approach I'd be more than happy with is to prefer the clj docstring and fallback to the cljs docstring if none exists.

cfleming16:12:51

Ugh, yes, my apologies. I’ll look at this again.

🙏 4
cfleming09:12:24

Ok, this was surprisingly tricky (which was why I got distracted last time I was looking at it), but it’s now fixed for the next build.

👏 4
cfleming09:12:33

If the doc is identical, then you’ll get a display like this:

cfleming09:12:39

If the doc is different, you’ll get one followed by the other:

cfleming09:12:37

It will try to do the right thing in terms of putting the Clojure one before the ClojureScript one, but that’s not always possible - there are a lot of weird edge cases there.

👌 4
denik23:12:06

thanks A LOT!

denik16:12:57

trying to get docs from this dropdown doesn't work.

Adrian Smith15:12:26

Seems like a lot of those logs were from a plugin called simple title, now I've deleted that, the only log is

2019-12-06 15:17:48,960 [ 110057]   WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting