Fork me on GitHub
#cursive
<
2022-08-31
>
JAtkins14:08:45

I just thought of this today - would it be possible for cursive to highlight all instances of a uuid literal in a file? Or, even better in the repl? I like being able to put my cursor on a keyword and see all usages, and for tests it'd be great to cross reference UUIDs without breaking out cmd-c cmd-f all the time

cfleming21:08:08

That’s actually a really nice idea. I can try to implement that, it might be tricky though since UUIDs are hard to identify - they’re basically just strings with hex chars in them.

cfleming21:08:22

Could you file an issue for that and I’ll think about it?

JAtkins19:09:42

Oops only saw this now

cfleming09:09:33

Just to be clear, your main use case is in the REPL output pane, right? So do you plan to jump to that and move around in the output to see the UUID matching?

JAtkins11:09:26

Primarily - though it would also be nice in a clojure file. I used to, but do not now, write raw data in my tests. I now use generators and now have very few uuids in the actual code.