Fork me on GitHub
#cursive
<
2022-04-29
>
onetom07:04:51

am I not supposed to get an "intention" when I press Opt+Enter on a qualified keyword, which uses a namespace alias (eg. ::anom/fault), to require that namespace with the corresponding :as clause? maybe im not getting such an option, because the alias is ambiguous?

onetom07:04:23

it's quite tiring to keep requiring this cognitect.anomalies NS 🙂

octahedrion08:04:23

I went to paste some core.async code having a < in it and this popped up

cfleming09:04:28

Yes, the detection seems a little aggressive sometimes.

octahedrion09:04:59

I think it would be better to offer a special paste-as-hiccup operation that can be bound to a keyboard shortcut as desired

2
onetom17:04:31

C-u Cmd-V 🙂

cfleming20:04:13

I think discoverability of a special command would be far worse, and the detection doesn’t mess up that frequently (and could definitely be improved).

octahedrion14:05:20

but I had to discover how to disable it

cfleming21:05:32

Well, you can also always just click the “Paste Normally” button, right? How often does this happen?

Jakub Holý (HolyJak)17:04:52

It seems Cursive doesn't deal well with assertions when they are not in a test but in a function called from the test (in my case it is even in another ns). No indication the fn "failed" or that the assertion in the fn (test/is) failed

cfleming20:04:01

Yes, that’s https://github.com/cursive-ide/cursive/issues/823. I’ll see if I can look at that soon, I’m planning some work on the test integration.

🙏 1