This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-27
Channels
- # announcements (11)
- # asami (7)
- # babashka (140)
- # beginners (58)
- # calva (12)
- # clj-kondo (5)
- # cljsrn (9)
- # clojure (60)
- # clojure-australia (8)
- # clojure-boston (1)
- # clojure-europe (35)
- # clojure-france (2)
- # clojure-germany (5)
- # clojure-italy (8)
- # clojure-nl (7)
- # clojure-sweden (14)
- # clojure-uk (23)
- # clojurescript (16)
- # community-development (2)
- # cursive (7)
- # datomic (6)
- # docker (1)
- # emacs (4)
- # fulcro (11)
- # graalvm (5)
- # honeysql (6)
- # jobs (6)
- # jobs-discuss (36)
- # lsp (19)
- # malli (7)
- # meander (8)
- # off-topic (18)
- # pathom (16)
- # practicalli (33)
- # re-frame (43)
- # react (2)
- # remote-jobs (11)
- # sci (83)
- # shadow-cljs (55)
- # tools-deps (48)
Released 2021.04.27-20.17.45:
• Significantly improve the performance of workspace symbol filtering/searching. https://github.com/anonimitoraf/clj-flx/commit/61b2081b65b7d3be14851bac03ea508147c90054. (Kudos @nicdaoraf)
• Always sort refers when clean-ns
.
• Add support for installing with homebrew on Linux (Kudos @wdullaer).
• Fix find definition going to declare
- Fixes https://github.com/clojure-lsp/clojure-lsp/issues/340
• Remove common already known clojure macros from Resolve macro as
code action.
• Bump clj-kondo to 2021.04.24-20210426.144134-2
adding support for finding re-frame event definitions by keyword. 🎉 🚀 Fixes https://github.com/clojure-lsp/clojure-lsp/issues/411
\cc @U051MTYAB :)
> adding support for finding re-frame.core vars by keyword I think this doesn't really cover the feature well. Perhaps: Adding support for finding re-frame registrations by keyword is a better way to put it?
Thanks for the new features, guys.
Question: I'm using kee-frame
which exposes re-frame-like functions like reg-event-fx
etc. Is there a way to allow jumping to their registrations the same way as re-frame registrations?
@nicdaoraf If those functions use the exact same syntax, then you can use :lint-as
Ah, damn, theyre almost the same except kee-frame
omits the event arg in the handler 😞
(rf/reg-event-fx
::a
(fn [cofx [event arg]]))
vs
(k/reg-event-fx
::a
(fn [cofx [arg]]))
@nicdaoraf you can write a hook to rewrite those events into re-frame events
Oh, do you mean https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md?
Sweet. Thanks, I'll have a read through
@nicdaoraf I think for this particular case the lint-as suggestion will work as expected :)
oh yes, I don't think clj-kondo really cares about the signature of the event function
Oh, I see. I'll try it out later. Thanks! Works 🙂