BUG: docstring missing from help popups

13 views
Skip to first unread message

timothypratley

unread,
Nov 28, 2024, 1:17:10 PMNov 28
to Cursive
I think something has gone wrong with the help popup, I see only examples, not the docstring
Screen Shot 2024-11-28 at 10.14.55 AM.png

Imre Kószó

unread,
Dec 4, 2024, 1:41:05 PMDec 4
to cur...@googlegroups.com
Is that a documentation tool window in your screenshot? I've never seen it before. How do you get it, is it a plugin perhaps?
FYI the "quick documentation" action still gives me both docstring and examples for merge-with.

IntelliJ IDEA 2024.3.1 RC (Ultimate Edition)
Build #IU-243.22562.59, built on November 26, 2024
Non-Bundled Plugins:
  com.cursiveclojure.cursive (1.14.0-2024.3)
Kotlin: 243.22562.59-IJ

On Thu, 28 Nov 2024 at 19:17, timothypratley <timothy...@gmail.com> wrote:
I think something has gone wrong with the help popup, I see only examples, not the docstring

--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cursive/1016f1b0-c90e-41e3-b1e8-7fdf3e7a3726n%40googlegroups.com.

timothypratley

unread,
Dec 20, 2024, 11:48:21 PM (5 days ago) Dec 20
to Cursive
Is that a documentation tool window in your screenshot?
Yes - if you press F1 once a tooltip popup shows, if you press it again it moves to a separate window.

The problem seems to be related to some confusion about which clojure.core to use.
For those vars that are missing the docstring, navigating to definition throws up this somewhat mysterious dialog:

Screen Shot 2024-12-20 at 8.35.36 PM.png

Of note this is from a .cljc file -- so either Clojure or ClojureScript could be considered the definition.
The problem does NOT happen in a .clj file.
So my theory is that because Cursive is not sure which runtime to pick, it defaults to choosing neither for the docstring.
I'd rather it just take the Clojure one FWIW.
"ish" is an option (twice)... according to clojure -Stree it is transitively included by scicloj/noj and my guess is that it is an uberjar containing clojure and clojurescript.

Reply all
Reply to author
Forward
0 new messages