Fork me on GitHub
#cursive
<
2024-03-08
>
onetom01:03:40

@cfleming the https://cursive-ide.com/userguide/eap/navigation.html#find-usages section could use an update too, now that have support for the usages inlays.

onetom01:03:11

i searched the settings for inlay and i found Editor / Inlay hints / Code vision / Usages, turned it on, but i don't see any inlays. what else do i need to turn on? is it only available on the new ui?

onetom01:03:54

no, it's not appearing on the new ui either.

onetom01:03:15

found it! it's that unnamed option, which is shown selected on the screenshot

onetom02:03:14

i also wonder how can i see this usages popup by just hovering over the hint? currently i have to click it, which is not very different from cmd-clicking the name of the function.

onetom02:03:07

also, if there is only a single usage, clicking the inlay hint navigates to the usage site, as opposed to showing the popup. cmd-click on the function name does the same, i guess this is behaviour outside of the control of cursive, but i'd be interested to know if it's possible to turn it off and always see the popup instead.

onetom02:03:50

if i click on a no usages hint, i get a popup in the wrong place.

onetom02:03:03

the popup seems to appear just where the caret is.

cfleming05:03:46

I’ll check all that, thanks!

cfleming19:03:40

Ok, Clojure usage hints are now correctly grouped under the standard Usage entry in the settings dialog, and obey that setting.

cfleming19:03:26

The Cmd-click behaviour is just Find Usages on the element, which is what all the other providers do, so I’m going to stick with that for consistency.

cfleming19:03:46

That no usages popup appearing in the wrong place also happens in Java, so at least that’s consistent too 🙂

👍 1
Lusia08:03:05

Where did that cursive-completion come from in the auto complete popup?

lol 2