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?
That’s pretty funny. 😃
That should work, it's possible Cursive is explicitly checking for HTML, I'll check that.
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.
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)
...)Do you get the little "implementing" icon in the gutter? If so you can click on those.
Ah I see! Thank you!