Fork me on GitHub
#cider
<
2017-11-18
>
grzm00:11:26

@dominicm I'd take a look at refactor-nrepl. They likely have something like this that you may be able to adapt.

decoursin18:11:59

Based on my survey, Kibit & Eastwood are almost useless integrated within Emacs. Since they can only run when the source code compiles, they can't actually detect compile errors. (Detecting compile errors can also be done with just a normal stacktrace, but it would be nice to get a red squiggle underneath the errors to quickly find the problem, rather than searching the stacktrace.) Sure they provide some nice static analysis hints and tips, but hardly much that needs to run after every change/save. As such, cored.typed seems like the only useful linter (of the three) to be integrated within Emacs. What do you guys think?

dominicm19:11:12

Kibit can be run on piped in code, it's a limitation of squiggly clojure that it does not provide the buffer to kibit

dominicm19:11:57

There is other tools outside out of cider which can have the buffer piped

decoursin19:11:37

Thanks though, that's nice to know.

dominicm20:11:46

@decoursin I put in a lot of effort getting it to work with https://github.com/SevereOverfl0w/clojure-check/

decoursin20:11:45

If i was an elisp pro, I'd wip out integration with it.

decoursin20:11:06

I'm not though lol

decoursin20:11:02

Here was my attempt at adding dump-jump-go to work with right mouse click: https://github.com/decoursin/emacs.d/blob/master/init.el#L337.