clojure-gamedev

pfeodrippe 2024-10-03T11:09:41.367149Z

Making a Zig Clojure-y API for Flecs that’s run in compilation time, I’m following the CLJ approach I have in Vybe (e.g.https://github.com/pfeodrippe/vybe/blob/main/test/vybe/flecs_test.clj#L111)

👀 1
Daniel Gerson 2024-10-05T00:41:10.029929Z

Cool project!

❤️ 1
Daniel Gerson 2024-10-05T10:39:20.398179Z

Question. Given you (vr.impl/intern-methods) like so, how do you get autocomplete and documentation in the editor? Cider, compliment etc doesn't seem to be able to handle this style for me?

pfeodrippe 2024-10-05T11:59:07.835489Z

@danielmgerson I use Cider, it works fine when using the REPL, for example. Are you seeing something different?

pfeodrippe 2024-10-05T12:00:58.958549Z

Ofc we could generate something statically ( doc or clj files) or use clong, but it’s working fine so far, the workflow has been good, the runtime bindings show you the expected input and output types

Daniel Gerson 2024-10-05T12:52:05.112409Z

Thanks for the confirmation, probably something in my spacemacs config then 🙏

🙏 1
Daniel Gerson 2024-10-05T14:21:02.395949Z

Seems lsp-completion-mode appears to be the culprit https://github.com/doomemacs/doomemacs/issues/7381#issuecomment-2395074270 . Helped that you confirmed yours is working.