This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-20
Channels
- # aleph (1)
- # announcements (1)
- # aws (11)
- # babashka (117)
- # beginners (34)
- # calva (13)
- # cider (3)
- # clj-commons (8)
- # clj-kondo (24)
- # clj-yaml (36)
- # cljsrn (46)
- # clojure (50)
- # clojure-australia (5)
- # clojure-europe (239)
- # clojure-nl (3)
- # clojure-norway (3)
- # clojure-spec (16)
- # clojurescript (25)
- # core-typed (20)
- # cursive (41)
- # datahike (1)
- # datalevin (1)
- # datomic (17)
- # fulcro (27)
- # hyperfiddle (35)
- # introduce-yourself (1)
- # jobs (4)
- # lsp (20)
- # malli (8)
- # meander (8)
- # nbb (1)
- # off-topic (31)
- # parinfer (9)
- # pathom (3)
- # portal (2)
- # re-frame (20)
- # react (2)
- # reagent (8)
- # releases (1)
- # remote-jobs (4)
- # scittle (2)
- # shadow-cljs (8)
- # slack-help (4)
- # sql (30)
- # squint (3)
- # tools-deps (34)
- # xtdb (21)
replying to: https://clojurians.slack.com/archives/C6N245JGG/p1663523285825599
I have found a solution using a build-hook to gather edited namespaces before compilation runs using this technique: https://github.com/metosin/malli/blob/d04fa68d16df383ce8632840241257b3daf7da17/src/malli/dev/shadow_cljs_instrument_hooks.clj
(part of this PR https://github.com/metosin/malli/pull/754) I'm wondering if there is a better solution by directly accessing the build-state in a :compile-prepare
hook though. I didn't see a way to get that information in the prepare stage, is there one?
Hey folks! Say I would do something like (ns server.main (:require ["fs" :as fs]))
and evaluate it in a node-repl, then type (fs/rea|)
, (pretend the cursor is at |) Should I be expecting an autocomplete in emacs with clojure-lsp and/or cider? Or is there something wrong with my setup
you should ask emacs or clojure-lsp. it is not something shadow-cljs is involved in. I'm guessing no but I don't have a clue what either do
👋 Hey everybody! Does anyone know if :target :esm
is still https://clojureverse.org/t/generating-es-modules-browser-deno/6116/21?
I'm having some issues using the library I created with a bundler called Vite
which uses ESM