klipse 2017-02-14

@viebel oh, now I see what you mentioned earlier

#error {:message "No such macros namespace: cljs.spec.impl.gen, could not locate cljs/spec/impl/gen.clj or cljs/spec/impl/gen.cljc", :data {:tag :cljs/analysis-error}}

Any idea why it happens?

beats me, I think i'll ask in cljs channel

does it happens also in lumo?

as far as I can tell, it works fine there

this may be related to the original problem

macro namespaces aren't loaded properly?

I think I found the reason

In clojure_cached_macro_ns_regexp and clojure_cached_ns_regexp you have to include cljs\..*

@moxaj ⬆️

i'll update right away

You might also need to include all the namespaces that you have cached

I wonder if /.*/ would work 🤔

where do I put those keys? next to cached-ns-regexp?

@viebel lumo only seems to generate cached stuff for my namespaces

hmmm

yeah because the cljs. ones are built-in into lumo

have u tried clojure_cached_macro_ns_regexp: /mikron\..*|cljs\..*/, clojure_cached_ns_regexp: /mikron\..*|cljs\..*/?

#:klipse{:cached-macro-ns-regexp #"/mikron\..*|cljs\..*/"
         :cached-ns-regexp       #"/mikron\..*|cljs\..*/"
         :cached-ns-root         "./cache-cljs"
         :require-statement      ns-str}          

this is what I have now

is there a separate clojure_cached_macro_ns_regexp key?

no

I was confusing between klipse keys and klipse codox theme keys

Gotta go into a meeting

I’ll talk woth you later

modified the script slightly to handle both forward- and backward slashes because i'm on windows

what script?

Oh. I see. Could you open a PR?

Sorry for the confusion @moxaj

What I meant was to inspect the dom elements and make visible the snippet that contains the require statement

It is the first element of the body - just after the <link> element