Fork me on GitHub
#announcements
<
2023-02-16
>
jpmonettas18:02:37

Released FlowStorm 3.3.320 FlowStorm is a Clojure and ClojureScript tool suite which contains a debugger and types docs generation tooling This release doesn't add any new features but fixes a bunch of issues reported by users. Since last announced release : • Upgrades to openjfx 19.0.2.1 which solves the tool failing to start on hombrew openjdk under macos ventura • Improves deep function instrumentation (with one click you can instrument a fn and recursively any called fn) • Fix type hinted fn instrumentation on clojure 1.10 • Support instrumenting functions forms like (let [...] (defn foo [] ...)) • Fix code instrumentation where libraries like potemkin/import-vars are used • Improve docs file generation • Fix namespace instrumentation for files that end with a comment • Fix OS theme detection exceptions • And more Thanks to everybody who reported issues, and a big thanks to Roam Research and people sponsoring the project. Repo : https://github.com/jpmonettas/flow-storm-debugger User guide : https://jpmonettas.github.io/flow-storm-debugger/user_guide.html Cheers!

🎉 30
12
❤️ 4
Noah Bogart22:02:20

Initial release of https://github.com/NoahTheDuke/spat - Next-Generation kibit-style linter Reads clojure/script code, checks for known "bad forms", and prints the more idiomatic form:

[:not-nil?] src/noahtheduke/spat.clj - 756:14
(not (nil? ?x))
Consider using:
(some? ?x)
Decided to release this in the barest bones version to see how folks like it. It can be run as a command-line tool with @borkdude’s bbin, or turned into an uberjar and run manually. I hope to get it even faster (maybe with GraalVM?), but this is a good place to start.

🎉 20
borkdude22:02:37

bbinstall should probable be bbin install :)

borkdude22:02:51

If I understand correctly, it runs with bb, pretty cool

borkdude22:02:23

I may have found one false positive: it flags #(do [%1 %2]) as a redundant do :)

👍 2
borkdude22:02:24

@UEENNMX0T If you can emit output like clj-kondo's text output, I think it's pretty easy to hook this up to emacs

Noah Bogart22:02:05

Excellent, I don’t use emacs but I do gather all of the data and can output it.

borkdude22:02:45

what editor are you using? intellij? I've had similar stuff with clj-kondo + intellij based on the same output

Noah Bogart22:02:11

I use neovim and rely singularly on clojure-lsp’s errors. But i can set this up

borkdude22:02:29

ok, if you spit out clj-kondo's format, then neovim can also pick this up using ale or some other stuff, check out the same editor-integration.md link, but for vim

borkdude22:02:53

it's a format that's widely supported

Noah Bogart22:02:58

Thanks so much for all your help

👍 2
borkdude22:02:29

Btw how much did it help in speed to use s-expressions rather than rewrite-clj nodes?

Noah Bogart22:02:41

Roughly the same as clj-kondo’s impl, much faster than raw rewrite-clj

👍 4
The Continium08:02:08

You can also integrate into neovim with null-ls.nvim. I use this and it works well. Here is an example parsing a cli program https://github.com/jose-elias-alvarez/null-ls.nvim#parsing-cli-program-output