This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-26
Channels
- # announcements (1)
- # asami (7)
- # aws (3)
- # babashka (30)
- # beginners (21)
- # calva (48)
- # cider (11)
- # clj-commons (5)
- # clj-kondo (12)
- # cljdoc (5)
- # cljfx (1)
- # cljs-dev (32)
- # cljsrn (4)
- # clojure (218)
- # clojure-europe (88)
- # clojure-nl (11)
- # clojure-uk (31)
- # clojurescript (8)
- # cursive (98)
- # data-science (6)
- # datomic (49)
- # emacs (12)
- # events (4)
- # fulcro (47)
- # graalvm (3)
- # graphql (4)
- # introduce-yourself (5)
- # java (13)
- # juxt (9)
- # lsp (74)
- # meander (3)
- # membrane (4)
- # missionary (31)
- # off-topic (24)
- # pathom (41)
- # portal (4)
- # reagent (3)
- # releases (1)
- # remote-jobs (3)
- # rewrite-clj (4)
- # shadow-cljs (10)
- # slack-help (2)
- # testing (20)
- # tools-deps (43)
is there a way to inspect javascript objects with cider-inspect by any chance?
would be great to have the same kind of output I see in the console (with dev tools enabled etc) but in Emacs directly
not sure if inspector supports datafy/nav, but if it would you could use https://github.com/lambdaisland/dom-types otherwise dom-types provide printers, which is better than nothing
@U0524T275 if you find something let me know.
I think the answer is fundamentally "no" though. It works in clojure because the reader knows what its looking at in order to create that view. And you know that view means.
In js, code isn't data.
at best it can hand you a dump of a big string
what you can easily search in JS is the parts of code that are more data like, or at least thats how it feels, i have never really thought about it.
well it is certainly possible, because the output I see in the console (with devtools etc) is pretty much perfect
I just want to see data if it's data and a mention to what it is otherwise maybe
so I can just do a js/console.log
and I see a nice output, but would just be amazing if I could see that directly with cider inspect or similar