This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-03
Channels
- # announcements (13)
- # babashka (1)
- # beginners (4)
- # calva (13)
- # clojure (13)
- # clojure-europe (12)
- # clojure-norway (2)
- # community-development (7)
- # conjure (9)
- # core-typed (5)
- # cursive (5)
- # data-science (15)
- # datomic (2)
- # fulcro (10)
- # hyperfiddle (3)
- # leiningen (1)
- # missionary (65)
- # nbb (6)
- # off-topic (3)
- # shadow-cljs (11)
- # specter (3)
- # vim (8)
Hello 👋
Is there a way to set the ‘config map’ options of binaryage/cljs-devtools
in shadow-cljs (edn config file)?
This sections describes it for e.g. lein based projects: https://github.com/binaryage/cljs-devtools/blob/master/docs/configuration.md#configuration-via-compiler-options
I’m very interested to learn how to do it for it’s own merit, but in the spirit of XY problem, one level up the stack is the issues of trying to suppress the some custom formatters were not rendered.
message with :dont-detect-custom-formatters true
following: https://github.com/binaryage/cljs-devtools/blob/master/docs/faq.md#why-some-custom-formatters-were-not-rendered
I get the warning, yet formatters seem to work just fine (so wanted to get rid of the warn for the time being — chrome 103.0.5060.53)
@U7MHWDLD8 Have you succeeded with the msg removal ?
@U0516053R thanks for checking in — I’m no seeing the message anymore 🙂
@U7MHWDLD8 can you describe what you did ?
Not sure it’s the only thing I did (since I’ve been messing with the app quite a bit), but maybe try something along the lines of
{..
:builds {:app {:compiler-options {:external-config {:devtools/config {:features-to-install [:formatters :hints]
:dont-detect-custom-formatters true}}}}}}
in the shadow-cljs.edn
I cannot get pretty print working with the :repl-pprint on, what can I check? https://shadow-cljs.github.io/docs/UsersGuide.html#_repl_3
FYI, this is the relevant issue on Calva.
As for me, I am using Calva with pprint
functionality. It doesn’t work.
I then switched to the calva
engine, it now works.
See https://calva.io/pprint/#pprint-is-not-working-for-clojurescript:~:text=Comments-,calva,-client