Fork me on GitHub
#klipse
<
2017-02-14
>
Yehonathan Sharvit06:02:05

Sorry for the confusion @moxaj

Yehonathan Sharvit06:02:47

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

Yehonathan Sharvit06:02:55

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

moxaj10:02:29

@viebel oh, now I see what you mentioned earlier

moxaj10:02:31

#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}}

Yehonathan Sharvit10:02:46

Any idea why it happens?

moxaj10:02:10

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

Yehonathan Sharvit10:02:19

does it happens also in lumo?

moxaj10:02:05

as far as I can tell, it works fine there

moxaj10:02:23

this may be related to the original problem

moxaj10:02:05

macro namespaces aren't loaded properly?

Yehonathan Sharvit10:02:56

I think I found the reason

Yehonathan Sharvit10:02:04

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

moxaj10:02:37

i'll update right away

Yehonathan Sharvit10:02:44

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

Yehonathan Sharvit10:02:13

I wonder if /.*/ would work :thinking_face:

moxaj10:02:24

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

moxaj11:02:01

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

Yehonathan Sharvit11:02:57

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

Yehonathan Sharvit11:02:02

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

moxaj11:02:54

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

moxaj11:02:57

this is what I have now

moxaj11:02:09

is there a separate clojure_cached_macro_ns_regexp key?

Yehonathan Sharvit11:02:40

I was confusing between klipse keys and klipse codox theme keys

Yehonathan Sharvit11:02:56

Gotta go into a meeting

Yehonathan Sharvit11:02:02

I’ll talk woth you later

moxaj11:02:19

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

Yehonathan Sharvit13:02:22

Oh. I see. Could you open a PR?

moxaj13:02:17

sure thing