cursive

thheller 2025-05-07T07:03:37.048529Z

when I open a .svg file in IntelliJ/Cursive, select all text and copy&paste it into a CLJ/S file I do not get the option to convert it to hiccup? if I take the same .svg file, but open/select/copy it from vscode it works fine?

pez 2025-05-07T11:16:03.448859Z

That’s pretty funny. 😃

cfleming 2025-05-07T19:39:04.996449Z

That should work, it's possible Cursive is explicitly checking for HTML, I'll check that.

cfleming 2025-05-07T21:12:00.751789Z

I think the issue is that if you copy from intelliJ, the copied code has a type that IntelliJ knows about, and Cursive checks for HTML. If you copy from somewhere else it's just text, and Cursive falls back on seeing if it resembles HTML, which SVG does.

shaunlebron 2025-05-07T17:28:25.144899Z

In a reify form, is there a way to check an interface method signature that we’re implementing? e.g. onOpen below can’t be cmd-clicked or hovered, and right-click "Go To" didn’t turn up anything:

(reify java.net.http.WebSocket$Listener
    (onOpen [_ ws]
      (.request ws 1)
    ...)

✅ 1
cfleming 2025-05-07T19:38:25.932659Z

Do you get the little "implementing" icon in the gutter? If so you can click on those.

shaunlebron 2025-05-07T19:41:32.095289Z

Ah I see! Thank you!