Fork me on GitHub
#cider
<
2021-07-23
>
Kevin Depue02:07:24

Hey folks, I'm curious if it's possible for cider to font-lock Java types / symbols inside of Emacs

dpsutton02:07:37

In a Java buffer or interop in a clojure buffer?

Kevin Depue02:07:40

In a Clojure buffer that references java symbols

Kevin Depue02:07:11

aka, stuff like (GLFW/glfwWindowHint GLFW/GLFW_REFRESH_RATE (.refreshRate vidmode))

Kevin Depue02:07:39

There, GLFW is a Java import, .refreshRate is a Java getter, GLFW_REFRESH_RATE is a symbol, etc.

Kevin Depue02:07:43

None of them are font locked though

dpsutton03:07:22

i'm not sure. there are a few options for CIDER to font lock some different things but i don't think interop is in there

dpsutton03:07:34

i dont' think there's any reason it couldn't though

Kevin Depue03:07:35

I haven't found anything suggesting this is possible just yet, curious if anyone else has any leads 🙂

dpsutton03:07:39

I meant possible to code it to work, not necessarily that something exists now

Kevin Depue03:07:47

yeah haha 😉

Kevin Depue03:07:07

Interestingly, intellisense isn't working for java getters either (aka., .refreshRate)

ghosttoaster19:07:43

Is it possible to have cider log and print (at least a summary) every evaluation?

pavlosmelissinos06:07:14

What do you need it for?

ghosttoaster19:07:19

in the repl area.