@p-himik This contains the switch to turn off hiccup conversion you asked about.
Awesome, thanks!
Thank you for Cursive. I bought a licence and really like it. Does Cursive accept bounties via https://www.bountysource.com/ or similar? Some issues I'd be willing to put money towards if it helped to prioritise their development: • Inline form evaluation (this is my most-missed feature from other editors): https://github.com/cursive-ide/cursive/issues/391 • Shadow CLJS support: https://github.com/cursive-ide/cursive/issues/1804 • Test runner: https://github.com/cursive-ide/cursive/issues/247
Hi Nick, thanks for the kind words, I’m glad you’re liking Cursive! There’s no bounties for Cursive, simply because money isn’t the limiting factor, my time is. However those three issues are on my shortlist to get fixed ASAP, so I hope they’ll be there soon.
@cfleming After updating this morning, I’m not getting colorization/formatting on some REPL evaluations.
I can’t quite figure out what the pattern is.
@cfleming Does Cursive have a similar thing to this? https://github.com/borkdude/clj-kondo/issues/872#issuecomment-685781515
Wait I think I found it
Yeah, there was a key in the response that started with an @
pretty printer didn’t like it
all good here, ty
Interesting, what did those look like? I can have a go at fixing that.
It was an invalid keyword: :@timestamp
It plain-printed the response form.
No colorization, no indentation.
tbh it made sense once I figured out what was up
But I updated the EAP today, and Jumped To Conclusions!™
It doesn’t, but it should. There’s some debate about what they should look like too, since not all forms accept metadata. Possibly something like #_:no-unused-symbol
before the form for those cases.
@cfleming That's exactly the discussion I'm having in that issue. Maybe we could come up with a common format
Ah, I see - yes, unreadable keywords can cause interesting issues 🙂
Instead of the uneval (which also came along in the issue) I've also proposed:
^{:clj-kondo/ignore-nth 1} (foo "bar" (baz ...))
Ok, I’ll think about it - I’ve actually just been adding some inspections and missed being able to disable them. I’ll check what IntelliJ provides/requires for this as well, since that may limit my possible solutions.
I was once on a crusade to un-keywordize all json. Sheer momentum put a stop to it, and now I, for one, welcome the pile of unnecessary errors I will live with forever and ever amen.
:hail_mary: