This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-19
Channels
- # aws (4)
- # aws-lambda (2)
- # beginners (67)
- # boot (38)
- # cider (32)
- # cljs-dev (12)
- # cljsrn (2)
- # clojars (2)
- # clojure (190)
- # clojure-chicago (1)
- # clojure-dusseldorf (2)
- # clojure-germany (1)
- # clojure-greece (3)
- # clojure-italy (5)
- # clojure-russia (6)
- # clojure-spec (47)
- # clojure-uk (10)
- # clojurescript (59)
- # cursive (9)
- # data-science (14)
- # datomic (24)
- # devops (16)
- # emacs (8)
- # fulcro (25)
- # graphql (30)
- # hoplon (123)
- # juxt (15)
- # lambdaisland (2)
- # leiningen (4)
- # luminus (6)
- # lumo (9)
- # off-topic (11)
- # om (7)
- # onyx (8)
- # re-frame (14)
- # reagent (5)
- # ring-swagger (5)
- # shadow-cljs (46)
- # spacemacs (41)
- # specter (8)
- # testing (8)
- # unrepl (31)
- # yada (18)
I use magit pretty routinely, but I still do the complicated stuff at the command line. Force of habit, I guess...
@eggsyntax you know about existence of !
in magit-status popup - it's awfully nice
@bja I had some trouble getting flycheck-joker
to work here for clj/cljs. Don't know if it's the same but what I needed to do was adding
(require 'flycheck-joker)
(spacemacs/add-flycheck-hook 'clojure-mode)
(spacemacs/add-flycheck-hook 'clojurescript-mode)
to my dotspacemacs/user-config
for me (require 'flycheck-joker)
is sufficient
@pesterhazy don't you have following in your config?
(add-to-list 'flycheck-global-modes 'clojure-mode)
(add-to-list 'flycheck-global-modes 'clojurescript-mode)
https://github.com/pesterhazy/arena/blob/master/.spacemacs#L446It turns out you know my spacemacs config better than me 😂 😂
it works great
joker 0.8.1
:thinking_face: I thought those last two were needed here to make it work but maybe not, I'll try later without the last two lines 😛
btw, version 0.8.5 was released around two weeks ago, working nicely here
flycheck-joker gives an enormous productivity boost
It sure does! It's hard to imagine going without it after I started using it
@andre.stylianos turns out you're right about those config lines
I tried flycheck-joker a while ago and wasn't able to get it work properly. Now I tried again and it's great! Thank you, @andre.stylianos and @pesterhazy
Enjoy!!
hmm. just installed flycheck-joker and i get a bunch of errors for valid code... does it need teaching about custom binding macros ?
but no way of specifying new macros which have arbitrary bindings vectors 😞
Joker allows to specify symbols that are introduced by a macro, i.e. {:known-macros [[riemann.streams/where [service event]]]}
. Does it not cover your case?
i don't think so @U75LX44UA - these are macros which have arbitrary binding vectors - e.g. https://gist.github.com/1b6eefd2d7035a52a3347cdfca69f3fb - here the symbols org-id
con-id
and msgs
are bound by the ddo
macro (which is some thin sugar over the funcool/cats mlet
macro)
Oh, wait, I just realized that those bindings should work fine in Joker, as long as you add ddo
(fully quialified) to :known-macros
. I tested it locally and it works (that is, Joker doesn't complain about those bindings). Is it not working for you?
oh, right - i must have misread what is possible in the docs then - i'll try it out and report
it is now working for me - thanks @U75LX44UA
yeah I just ignore those errors 🙂
joker also seems not to recognize {:keys [:ns/kw]}
I tried to repro but couldn't
Will post an issue if I see it again
looks like it was broken for cljs files but worked for clj. Will be fixed in the next release.
Ah yes, that must be it. Thanks for building this fantastic tool @U75LX44UA !
ha, i'm getting about 50% of lines with red-dots... it's pretty much unusable for me 😞
you must be a heavy user of macros
i have a few macros around which are very heavily used... mostly mlet
from cats and some promise error-handling stuff which can't be done as a fn
joker is awesome, one thing I couldn't figure out how to make boot.core
primitives to be ignored, I added them to :known-macros
and tried adding them to :known-tags
- they still get higlighted
@pesterhazy You can also see changed lines in a buffer using the fringe option in the Git layer (git :variables git-gutter-use-fringe t)