Fork me on GitHub
#announcements
<
2020-02-23
>
benedek10:02:13

new version of https://github.com/benedekfazekas/morpheus available. morpheus can generate graphs of a project’s variables. new version generates navigable SVGs. it also implements datafy protocols if you want to use the API instead of the CLI. powered by clj-kondo

👍 36
metal 24
vemv11:02:00

interesting! what kind of question would be answered by these graphs?

benedek11:02:00

suppose it helps you visualise the dependencies of a given function in your code on the var level

borkdude11:02:18

Thanks, awesome stuff

👍 4
💯 4
Avichal11:02:46

Its interesting. I was thinking if I am new to a code base, maybe visualizing a function this way might help. But I am still yet to try.

benedek11:02:10

maybe the graph could be used to spot things in the code that could be refactored — like a function which bridges two other functions but has no other incoming or outgoing edges: maybe good candidate to inline

✔️ 4
benedek11:02:46

yeah good use case too @U3ZPBUVJ7

Aleksander11:02:32

do you see it could be integrated into editors?

benedek12:02:52

don't see any reason why not. apart from dependency on graphiz being installed

vemv18:02:25

> suppose it helps you visualise the dependencies of a given function in your code on the var level ah, like a clj-refactor.el find-usages. great!

otfrom08:02:15

I've used lein plugins like this before to understand an unfamiliar code base and refactor it. This is awesome!

uochan22:02:54

I just released vim-iced v1.0.0, Clojure Interactive Development Environment for Vim8/Neovim https://twitter.com/uochan/status/1231707071940194304

👍 44
👏 28
vim 28
neovim 32
🎉 8
jsn22:02:59

Is there some "why vim-iced?", or/and something about differences from existing vim clojure plugins (like e.g. fireplace)?

uochan22:02:17

@UTQEPUEH4 Currently, there is no comparison with other vim plugins.

pez06:02:56

Looks super nice!

herald13:02:45

@UTQEPUEH4 I think writing something like that would be difficult since the plugins change all the time. Based on my experience with both, vim-fireplace has a quasi-repl and supports evaluating code in a buffer, while vim-iced only does the latter. vim-iced is a more complete solution, in that you just run iced repl and it will start your lein/boot/deps project, without having to tweak the configs to add nrepl and so on.

herald13:02:23

I could probably go on with mentioning all the differences, but maybe this isn't the right place [=