klipse

Yehonathan Sharvit 2017-02-14T06:32:05.000891Z

Sorry for the confusion @moxaj

Yehonathan Sharvit 2017-02-14T06:32:47.000892Z

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

Yehonathan Sharvit 2017-02-14T06:33:55.000893Z

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

moxaj 2017-02-14T10:12:29.000898Z

@viebel oh, now I see what you mentioned earlier

moxaj 2017-02-14T10:12:31.000899Z

#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 Sharvit 2017-02-14T10:13:46.000900Z

Any idea why it happens?

moxaj 2017-02-14T10:14:10.000901Z

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

Yehonathan Sharvit 2017-02-14T10:19:19.000902Z

does it happens also in lumo?

moxaj 2017-02-14T10:26:05.000903Z

as far as I can tell, it works fine there

moxaj 2017-02-14T10:34:23.000904Z

this may be related to the original problem

moxaj 2017-02-14T10:35:05.000905Z

macro namespaces aren't loaded properly?

Yehonathan Sharvit 2017-02-14T10:39:56.000906Z

I think I found the reason

Yehonathan Sharvit 2017-02-14T10:41:04.000907Z

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

Yehonathan Sharvit 2017-02-14T10:41:19.000908Z

@moxaj ⬆️

moxaj 2017-02-14T10:41:37.000909Z

i'll update right away

Yehonathan Sharvit 2017-02-14T10:42:44.000910Z

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

Yehonathan Sharvit 2017-02-14T10:43:13.000911Z

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

moxaj 2017-02-14T10:51:24.000912Z

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

moxaj 2017-02-14T11:01:01.000913Z

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

Yehonathan Sharvit 2017-02-14T11:04:32.000914Z

hmmm

Yehonathan Sharvit 2017-02-14T11:04:57.000915Z

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

Yehonathan Sharvit 2017-02-14T11:06:02.000916Z

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

moxaj 2017-02-14T11:07:54.000917Z

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

moxaj 2017-02-14T11:07:57.000918Z

this is what I have now

moxaj 2017-02-14T11:08:09.000919Z

is there a separate clojure_cached_macro_ns_regexp key?

Yehonathan Sharvit 2017-02-14T11:08:16.000920Z

no

Yehonathan Sharvit 2017-02-14T11:08:40.000921Z

I was confusing between klipse keys and klipse codox theme keys

Yehonathan Sharvit 2017-02-14T11:08:56.000922Z

Gotta go into a meeting

moxaj 2017-02-14T11:09:00.000923Z

alright

Yehonathan Sharvit 2017-02-14T11:09:02.000924Z

I’ll talk woth you later

moxaj 2017-02-14T11:49:58.000925Z

@viebel win!

moxaj 2017-02-14T11:51:19.000928Z

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

Yehonathan Sharvit 2017-02-14T12:31:13.000929Z

what script?

Yehonathan Sharvit 2017-02-14T13:33:22.000933Z

Oh. I see. Could you open a PR?

moxaj 2017-02-14T13:36:17.000934Z

sure thing

moxaj 2017-02-14T14:02:54.000935Z

@viebel FYI https://github.com/viebel/klipse/pull/224