Fork me on GitHub
#cider
<
2020-01-02
>
fabrao05:01:25

hello all, is there possible extend C-c C-e evaluation to show like image file or something else than text?

bozhidar10:01:02

It’s possible, but we never got to do it.

bozhidar10:01:00

The REPL already supports displaying images, but in the source buffers we never decided how exactly to approach rich data types. I recall we discussed to maybe display them in a different buffer, but we never got to doing it.

bozhidar10:01:23

Anyways, the hard work was already done way back, so it should not be very hard to support this for interactive evaluations.

fabrao11:01:38

Hello bozhidar, I´m asking this because I saw this:

fabrao11:01:15

is this the way I can show images into REPL?

fabrao11:01:00

but it´s in repl buffer, not in-line evaluation

bozhidar11:01:18

The REPL thingy is enabled by default. I just meant to do this inline you have to use the same underlying functionality.

zilti12:01:28

I am using cider with deps.edn and I'm trying to pass through a JVM option. I tried adding it to my :dev alias as :main-opts ["-J--add-modules=java.xml.bind"] since that works for building my program, but then I get errors. Same when I add it to cider-clojure-cli-global-options. Is there a place to add it?

zilti12:01:29

Ah, I forgot to remove it from deps.edn when I added it to my dir-locals

didibus19:01:50

Any work to support spec for auto-complete?

vemv20:01:48

CIDER uses https://github.com/alexander-yakushev/compliment which is extensible... you could give it a try

didibus19:01:17

Like if I Spec a map, and have a fdef spec that says the arg is of that spec, then the keys could be auto-completed?

didibus19:01:58

And similarly, the fn that I can call on that map would as well, based on showing me all fns that take that spec as an arg